[Issue 9641] Wrong module init order when a thread is created in a module ctor

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun May 11 08:27:25 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=9641

Martin Nowak <code at dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |code at dawg.eu

--- Comment #1 from Martin Nowak <code at dawg.eu> ---
I think the fix would need a mutex which blocks all created threads until all
shared module constructors are finished. This might easily cause deadlocks
though.

--


More information about the Digitalmars-d-bugs mailing list