September 07, 2013 [Issue 10986] New: thread_attachThis doesn't initialize shared libraries | ||||
---|---|---|---|---|
| ||||
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 --- Comment #0 from Martin Nowak <code@dawg.eu> 2013-09-07 10:00:47 PDT --- 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: ------- |
September 09, 2013 [Issue 10986] thread_attachThis doesn't initialize shared libraries | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Nowak | http://d.puremagic.com/issues/show_bug.cgi?id=10986 --- Comment #1 from Martin Nowak <code@dawg.eu> 2013-09-08 23:23:14 PDT --- 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: ------- |
Copyright © 1999-2021 by the D Language Foundation