On Sun, 25 Dec 2011 13:37:32 +0100, Mike Wey wrote:

> On 12/25/2011 09:25 AM, Adrian Mercieca wrote:
>> Hi folks,
>>
>> Is there a GetAndSet function (corresponding to cas (compare and set)
>> function) in D?
>>
>> Thanks.
> 
> core.atomic.cas
> 
> http://dlang.org/phobos/core_atomic.html#cas

I know of the cas function in D.

I was asking if there was a getAndSet function.

Tks.

Reply via email to