aboutsummaryrefslogtreecommitdiffstats
path: root/src/thread/Mutex.hxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* copyright year 2014Max Kellermann2014-01-131-1/+1
|
* thread/{Cond,Mutex}: use "class" instead of "typedef"Max Kellermann2013-10-171-3/+2
| | | | Allows forward-declaration.
* thread/{Mutex,Cond}: new backend for WIN32Max Kellermann2013-01-111-2/+2
| | | | | | 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/GLibMutex: new Mutex implementationMax Kellermann2013-01-101-2/+2
| | | | | Switch WIN32 to this implementation to be able to use condition variables, which is impossible with CriticalSection.
* thread/Mutex: don't use std::mutexMax Kellermann2013-01-071-8/+8
| | | | Use a custom pthread_mutex_t wrapper because std::mutex adds overhead.
* Mutex: new wrapper for std::mutex, replaces GMutexMax Kellermann2013-01-041-0/+54