On Sunday, 11 June 2017 at 19:06:48 UTC, Andrei Alexandrescu
wrote:
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
Which atexit call? The shared static ~this is still present in
that commit.