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.
_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos