std.allocator ready for some abuse

Ilya Yaroshenko via Digitalmars-d digitalmars-d at puremagic.com
Thu Sep 10 05:16:55 PDT 2015


On Friday, 1 November 2013 at 02:33:57 UTC, Andrei Alexandrescu 
wrote:
> Added SharedFreelist, a lock-free freelist.
>
> http://erdani.com/d/phobos-prerelease/std_allocator.html#.SharedFreelist
>
>
> Andrei

Hi Andrei,

Please check this bug fix for SharedFreelist 
https://github.com/andralex/phobos/pull/21 .

I have found that source code for bounded `maxNodes` version of 
SharedFreelist is commented out. I understand that `maxNodes` can 
be only approximate bound for _shared_ free list. However, 
approximate `maxNodes` bound is very useful too. Can I create PR 
for this feature?

Best Regards, --Ilya


More information about the Digitalmars-d mailing list