September 03, 2015 [Issue 15007] New: core.atomic match C++11 | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15007 Issue ID: 15007 Summary: core.atomic match C++11 Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW Severity: enhancement Priority: P1 Component: druntime Assignee: nobody@puremagic.com Reporter: turkeyman@gmail.com I'm porting some code using C++11 <atomic> which provides std::atomic<T>, and has some useful methods. core.atomic provides the primitives with which these can be created, but I think core.atomic should go one step further and provide the direct parallels to C++'s std::atomic to make porting code fast and painless. The missing functions are: exchange, fetch_***, compare_exchange_weak/strong -- |
Copyright © 1999-2021 by the D Language Foundation