digitalmars.D.bugs - [Issue 10986] New: thread_attachThis doesn't initialize shared libraries
- d-bugmail puremagic.com (21/21) Sep 07 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10986
- d-bugmail puremagic.com (8/8) Sep 08 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10986
http://d.puremagic.com/issues/show_bug.cgi?id=10986 Summary: thread_attachThis doesn't initialize shared libraries 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 I didn't tested this, but I just realized, that a foreign thread added through thread_attachThis has currently no way of knowing which DSOs it needs to initialize. So it'll likely end up not calling any thread ctors (static this();) at all. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 07 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10986 I thought about this and I think inheriting the loaded libraries of the main thread would be a sane behavior. The main thread is the one that runs D main or the one that dlopened druntime. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 08 2013