pthread_mutex_timedlock timespec is scope const
Fix InterlockedCompareExchange prototype
Merge pull request #691 from ibuclaw/interlocked

Fix InterlockedCompareExchange prototype
Define PTHREAD_MUTEX_INITIALIZER and PTHREAD_ONCE_INIT for all supported platforms.
Merge pull request #690 from ibuclaw/pthreads

pthread_mutex_timedlock timespec is scope const
Merge pull request #692 from ibuclaw/mutex

Define PTHREAD_MUTEX_INITIALIZER and PTHREAD_ONCE_INIT for all supported platforms.