std.allocator ready for some abuse

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sat Nov 2 13:06:34 PDT 2013


On 10/31/13 7:34 PM, Andrei Alexandrescu wrote:
> On 10/24/13 12:54 PM, Andrei Alexandrescu wrote:
>> Hello,
>>
>>
>> I know it's been a long wait. Hopefully it was worth it. The alpha
>> release of untyped allocators is ready for tire-kicking and a test drive.
>>
>> Code: https://github.com/andralex/phobos/blob/allocator/std/allocator.d
>>
>> Dox: http://erdani.com/d/phobos-prerelease/std_allocator.html
>
> Added SharedFreelist, a lock-free freelist.
>
> http://erdani.com/d/phobos-prerelease/std_allocator.html#.SharedFreelist

Added documentation clarifying the allocators' approach to shared 
memory. See section "Allocating memory for sharing across threads" near 
the top of

http://erdani.com/d/phobos-prerelease/std_allocator.html



Andrei



More information about the Digitalmars-d mailing list