digitalmars.D.bugs - [Issue 14226] New: invalid Runtime.traceHandler setup
- via Digitalmars-d-bugs (18/18) Feb 26 2015 https://issues.dlang.org/show_bug.cgi?id=14226
https://issues.dlang.org/show_bug.cgi?id=14226 Issue ID: 14226 Summary: invalid Runtime.traceHandler setup Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: minor Priority: P1 Component: druntime Assignee: nobody puremagic.com Reporter: ketmar ketmar.no-ip.org in module `core.runtime` at line 50 module constructor for setting up `Runtime.traceHandler` is declared as `static`, whereas tracehandler variable is `__gshared`. so custom trace handler will be reset on each new thread creation. i believe that module ctor must be `shared static` here. --
Feb 26 2015