aboutsummaryrefslogtreecommitdiffstats
path: root/src/thread (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-01-11thread/{Mutex,Cond}: new backend for WIN32Max Kellermann4-4/+135
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().
2013-01-10thread/Cond: new wrapper for pthread_cond_t or GCondMax Kellermann5-0/+189
2013-01-10thread/GLibMutex: new Mutex implementationMax Kellermann2-19/+44
Switch WIN32 to this implementation to be able to use condition variables, which is impossible with CriticalSection.
2013-01-10thread/PosixMutex: fix indentMax Kellermann1-13/+13
2013-01-07thread/Mutex: don't use std::mutexMax Kellermann2-8/+68
Use a custom pthread_mutex_t wrapper because std::mutex adds overhead.
2013-01-04Mutex: new wrapper for std::mutex, replaces GMutexMax Kellermann2-0/+117