D-Programming-Language/druntime — pull request #692 by ibuclaw (2013-12-17 17:32:57+00:00)
Title: Define PTHREAD_MUTEX_INITIALIZER and PTHREAD_ONCE_INIT for all supported platforms.

Rationale.

1. All supported platforms *must* define these, and it's quite painful that each is inconsistent.
2. PTHREAD_MUTEX_INITIALIZER and PTHREAD_ONCE_INIT are all zero initialisers.
3. You will always runtime initialise a mutex with ``pthread_mutex_init``