[Issue 10976] New: thread_joinAll after main exit performed too late

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Sep 5 19:49:37 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10976

           Summary: thread_joinAll after main exit performed too late
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: druntime
        AssignedTo: nobody at puremagic.com
        ReportedBy: code at dawg.eu


--- Comment #0 from Martin Nowak <code at dawg.eu> 2013-09-05 19:49:33 PDT ---
Because we moved the rt_init/rt_term code into the .ctors/.dtors of druntime
the
implicit thread_joinAll is called too late, i.e. after the shared static
destructors are run.
This might crash or hang other running threads.

https://github.com/D-Programming-Language/druntime/pull/590

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list