Thread.getThis()

John C johnch_atms at hotmail.com
Wed Oct 15 01:15:04 PDT 2008


Using DMD 2 on Windows, Thread.getThis throws an exception and prints "didn't find it" on the command line.

It appears that Thread.thread_init isn't getting called as it should during gc_init. When I explicitly call Thread.thread_init in my main procedure, Thread.getThis returns a valid object.

I've searched, but can't find any bugs logged about this issue. Can anyone else repro?

John


More information about the Digitalmars-d-bugs mailing list