D2 CAS, atomic increment
Denis Koroskin
2korden at gmail.com
Wed Apr 15 06:50:40 PDT 2009
On Wed, 15 Apr 2009 17:23:51 +0400, Don <nospam at nospam.com> wrote:
> Jason House wrote:
>> I'm currently using part of the Tango D2 branch to get basic lock free
>> methods. I know there's license issues with just copying Tango into
>> Phobos, so does anyone have (or be able to write) these basic building
>> blocks?
> There are no license issues with using anything written by Sean (or me).
>
>> I'm planning on porting the lock-free (and mostly fence free) hash
>> table from "high-scale-lib". It beats the pants off Java's concurrent
>> hash table and scales nearly linear to hundreds of cores and thousands
>> of threads. It can also handle a high write rate. I'll try to get it
>> into Phobos when done.
Perhaps, now that there is core.sync module in druntime, those atomics could be added to core.sync and std.atomics got deprecated?
BTW, core.sync is not included into DMD bundle and needs to be generated by hand. I believe it is a bug that is there since DMD2.027
More information about the Digitalmars-d
mailing list