Am 03.01.2013 20:12, schrieb Andrei Alexandrescu:
See

https://github.com/D-Programming-Language/druntime/blob/master/src/core/thread.d

https://github.com/D-Programming-Language/druntime/blob/master/src/core/thread.di

Why?
To hide the implementation as thread module needs to have access to runtime internals.
If you can come up with a better proposal to achieve this please do.

https://github.com/D-Programming-Language/druntime/pull/118
https://github.com/D-Programming-Language/druntime/pull/132