Interlocked (compare) exchange
Max Klyga via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Apr 17 03:53:59 PDT 2015
On 2015-04-17 10:36:31 +0000, Szymon Gatner said:
> Hi,
>
> are there equivalents of Interlocked.Exchange [1] and
> Interlocked.CompareExchange [2] in D? I can't find it in teh docs?
>
> [1] https://msdn.microsoft.com/en-us/library/f2090ex9(v=vs.110).aspx
>
> [2] https://msdn.microsoft.com/en-us/library/h7etff8w(v=vs.110).aspx
http://dlang.org/phobos/core_atomic.html#.cas
More information about the Digitalmars-d-learn
mailing list