One for experts in std.parallelism

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Sun Jun 11 12:06:48 PDT 2017


I tried to eliminate the static shared ~this as follows:

https://github.com/dlang/phobos/pull/5470/commits/a4b2323f035b663727349d390719509d0e3247ba

However, unittesting fails at src/core/thread.d(2042). I suspect it's 
because the atexit call occurs too late, after the shared static this in 
src/core/thread.d has already been called.

Thoughts on how to make this work?


Thanks,

Andrei


More information about the Digitalmars-d mailing list