[Issue 20105] New: core.atomic 'cas' function is incomplete
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Aug 4 21:54:09 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=20105
Issue ID: 20105
Summary: core.atomic 'cas' function is incomplete
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P1
Component: druntime
Assignee: nobody at puremagic.com
Reporter: turkeyman at gmail.com
core.atomic cas is incomplete
1. It doesn't have a pair of weak and strong complements
2. It doesn't accept memory order arguments
3. It should have memory order variants where just one is supplied, and also an
on-success and on-fail variant.
The C++ atomic reference shows the complete set of operations
(https://en.cppreference.com/w/cpp/atomic/atomic/compare_exchange)
--
More information about the Digitalmars-d-bugs
mailing list