aboutsummaryrefslogtreecommitdiff
path: root/src/thread
Commit message (Collapse)AuthorAge
* thread/{Mutex,Cond}: new backend for WIN32Max Kellermann2013-01-11
| | | | | | Use CRITICAL_SECTION and CONDITION_VARIABLE. This requires Windows Vista or newer. It fixes problems with GLib threading objects that were implicitly created by static constructors before g_thread_init().
* thread/Cond: new wrapper for pthread_cond_t or GCondMax Kellermann2013-01-10
|
* thread/GLibMutex: new Mutex implementationMax Kellermann2013-01-10
| | | | | Switch WIN32 to this implementation to be able to use condition variables, which is impossible with CriticalSection.
* thread/PosixMutex: fix indentMax Kellermann2013-01-10
|
* thread/Mutex: don't use std::mutexMax Kellermann2013-01-07
| | | | Use a custom pthread_mutex_t wrapper because std::mutex adds overhead.
* Mutex: new wrapper for std::mutex, replaces GMutexMax Kellermann2013-01-04