www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11380] New: rt_init/rt_term are not synchronized

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

           Summary: rt_init/rt_term are not synchronized
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: dll
          Severity: normal
          Priority: P2
         Component: druntime
        AssignedTo: nobody puremagic.com
        ReportedBy: code dawg.eu


--- Comment #0 from Martin Nowak <code dawg.eu> 2013-10-29 16:41:36 PDT ---
We need to make rt_init/rt_term callable from multiple C threads.
If the runtime is already initialized then calling rt_init should have the
effect of attaching the calling thread to the runtime (unless it already was
attached).

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