[phobos] std.atomics
Sean Kelly
sean at invisibleduck.org
Mon Jun 7 13:41:39 PDT 2010
On Jun 7, 2010, at 1:38 PM, Walter Bright wrote:
>
> Sean Kelly wrote:
>> This module is only partially implemented and seems to conflict with using std.concurrency for concurrency stuff. Should it be removed?
>>
>>
>
> I'm not seeing where it conflicts. Concurrency is about message passing, right? I see std.atomics as an analog for C++0x atomics, which gives very low level operations for memory fences and such.
I added all the TDPL atomics stuff in core.atomic. I could have put it in std.atomics instead I suppose, but that would have prevented its use in druntime and it seems potentially too low-level for phobos anyway. A bit like how std.concurrency uses spawn() as a user-friendly wrapper around core.thread.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/phobos/attachments/20100607/127bb6e8/attachment.html>
More information about the phobos
mailing list