Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | thread/{Mutex,Cond}: new backend for WIN32 | Max Kellermann | 2013-01-11 | 1 | -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 implementation | Max Kellermann | 2013-01-10 | 1 | -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::mutex | Max Kellermann | 2013-01-07 | 1 | -8/+8 |
| | | | | Use a custom pthread_mutex_t wrapper because std::mutex adds overhead. | ||||
* | Mutex: new wrapper for std::mutex, replaces GMutex | Max Kellermann | 2013-01-04 | 1 | -0/+54 |