Low-Lock Singletons In D

David Nadlinger see at klickverbot.at
Mon May 6 11:51:10 PDT 2013


On Monday, 6 May 2013 at 18:23:51 UTC, Mehrdad wrote:
>> One way is to ensure write is atomic w.r.t. that particular 
>> read operation
> Are't pointer writes always atomic?

No. But *aligned* word-sized writes *on x86* are.

David


More information about the Digitalmars-d mailing list