GetAndSet function (corresponding to cas function)

Mike Wey mike-wey at example.com
Sun Dec 25 04:37:32 PST 2011


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

-- 
Mike Wey


More information about the Digitalmars-d-learn mailing list