Stomic exchange is a critical operation, and it's not present in the library.
You need this to implement a spin lock; the single most basic atomic primitive.
Comment #1 by dlang-bot — 2019-08-12T05:10:28Z
@TurkeyMan updated dlang/druntime pull request #2729 "Added atomicExchange to core.atomic" fixing this issue:
- Added atomicExchange to core.atomic
Fix Issue 20104 - core.atomic has no exchange function
https://github.com/dlang/druntime/pull/2729
Comment #2 by dlang-bot — 2019-08-12T11:06:11Z
dlang/druntime pull request #2729 "Added atomicExchange to core.atomic" was merged into master:
- 16048f1d764c279c8d860e02fae90f3b960fc28e by Manu Evans:
Added atomicExchange to core.atomic
Fix Issue 20104 - core.atomic has no exchange function
https://github.com/dlang/druntime/pull/2729