Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2013-01-11 | thread/{Mutex,Cond}: new backend for WIN32 | Max Kellermann | 4 | -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-10 | thread/Cond: new wrapper for pthread_cond_t or GCond | Max Kellermann | 5 | -0/+189 | |
2013-01-10 | thread/GLibMutex: new Mutex implementation | Max Kellermann | 2 | -19/+44 | |
Switch WIN32 to this implementation to be able to use condition variables, which is impossible with CriticalSection. | |||||
2013-01-10 | thread/PosixMutex: fix indent | Max Kellermann | 1 | -13/+13 | |
2013-01-07 | thread/Mutex: don't use std::mutex | Max Kellermann | 2 | -8/+68 | |
Use a custom pthread_mutex_t wrapper because std::mutex adds overhead. | |||||
2013-01-04 | Mutex: new wrapper for std::mutex, replaces GMutex | Max Kellermann | 2 | -0/+117 | |