Interlocked (compare) exchange
rumbu via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Apr 17 04:00:39 PDT 2015
On Friday, 17 April 2015 at 10:36:33 UTC, Szymon Gatner wrote:
> 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
All D equivalents of Interlocked class methods:
https://github.com/rumbu13/sharp/blob/master/src/system/threading/package.d
More information about the Digitalmars-d-learn
mailing list