[D-runtime] [D-Programming-Language/druntime] b79b74: specialize cas for shared classes and pointers
noreply at github.com
noreply at github.com
Thu Dec 15 11:12:53 PST 2011
Branch: refs/heads/master
Home: https://github.com/D-Programming-Language/druntime
Commit: b79b74154050263abe2c5800d6b3587474aae3e5
https://github.com/D-Programming-Language/druntime/commit/b79b74154050263abe2c5800d6b3587474aae3e5
Author: dawg <dawg at dawgfoto.de>
Date: 2011-12-15 (Thu, 15 Dec 2011)
Changed paths:
M src/core/atomic.d
Log Message:
-----------
specialize cas for shared classes and pointers
- Add a cas overload that accepts pointers and classes. Require
that the to be written value is shared because it might get
immediately referenced. Require the comparison value to be const
shared to match the comparison semantics for classes.
Commit: bdeb61e3ee30290ebdb2d8a6831accc8bb0c761e
https://github.com/D-Programming-Language/druntime/commit/bdeb61e3ee30290ebdb2d8a6831accc8bb0c761e
Author: Sean Kelly <sean at invisibleduck.org>
Date: 2011-12-15 (Thu, 15 Dec 2011)
Changed paths:
M src/core/atomic.d
Log Message:
-----------
Merge pull request #106 from dawgfoto/FixReferenceCAS
specialize cas for shared classes and pointers
Compare: https://github.com/D-Programming-Language/druntime/compare/0233996...bdeb61e
More information about the D-runtime
mailing list