-
Max Kellermann authored
On NetBSD, PTHREAD_MUTEX_INITIALIZER and PTHREAD_COND_INITIALIZER are not compatible with C++11 "constexpr" (see Mantis ticket 0004110). As a workaround, don't ues "constexpr", and use the functions pthread_mutex_init(), pthread_mutex_destroy(), pthread_cond_init() and pthread_cond_destroy() instead. This adds some runtime overhead, but is portable to POSIX implementations that have awkward initializer macros.
e304d0f8
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
Cond.hxx | ||
CriticalSection.hxx | ||
GLibCond.hxx | ||
GLibMutex.hxx | ||
Id.hxx | ||
Mutex.hxx | ||
PosixCond.hxx | ||
PosixMutex.hxx | ||
Thread.cxx | ||
Thread.hxx | ||
WindowsCond.hxx |