August 04, 2019 [Issue 20104] New: core.atomic has no exchange function | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20104 Issue ID: 20104 Summary: core.atomic has no exchange function Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P1 Component: druntime Assignee: nobody@puremagic.com Reporter: turkeyman@gmail.com 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. -- |
Copyright © 1999-2021 by the D Language Foundation