June 11, 2014 [Issue 12891] New: add atomicInc and atomicDec to core.atomic | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=12891 Issue ID: 12891 Summary: add atomicInc and atomicDec to core.atomic Product: D Version: unspecified Hardware: x86_64 OS: Linux Status: NEW Severity: enhancement Priority: P1 Component: druntime Assignee: nobody@puremagic.com Reporter: code@dawg.eu At least on the X86 architecture atomic increments/decrements can be done way more efficient using specialized instruction which are not used by the more generic atomicOp. -- |
Copyright © 1999-2021 by the D Language Foundation