D-Programming-Language/druntime — pull request #456 by dawgfoto (2013-03-19 22:24:40+00:00)
Title: make Thread.sm_this a plain TLS value

- this became possible, because the TLS emulation
no longer uses the Thread.getThis() instance

- Windows use impersonate_thread to set sm_this
when attaching a foreign thread