Deprecation: Read-modify-write operations are not allowed for shared variables
Sean Kelly via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Aug 12 09:02:01 PDT 2014
On Tuesday, 12 August 2014 at 15:06:38 UTC, ketmar via
Digitalmars-d-learn wrote:
>
> besides, using atomic operations will allow you to drop
> synchronize altogether which makes your code slightly faster.
... and potentially quite broken. At the very least, if this
value is ready anywhere you'll have to use an atomicLoad there in
place of the synchronized block you would have used.
More information about the Digitalmars-d-learn
mailing list