D-Programming-Language/druntime — pull request #238 by klickverbot (2012-06-02 15:28:50+00:00)
Title: Remove Posix/OS X code in Windows-only thread functions.

Keeping platform-specific dead code around (note that the whole function is inside a version(Windows) conditional) is a maintenance nightmare, especially for "downstream" developers, as it tends to break merges (for example, LDC uses yet another approach to TLS).