aboutsummaryrefslogtreecommitdiff
path: root/src/threading/event.cpp
AgeCommit message (Collapse)Author
2017-06-11Remove threads.h and replace its definitions with their C++11 equivalents ↵ShadowNinja
(#5957) This also changes threadProc's signature, since C++11 supports arbitrary thread function signatures.
2017-06-06Use C++11 mutexes only (remove compat code) (#5922)Loïc Blot
* Fix event LINT & remove default constructor/destructors * remove compat code & modernize autolock header
2017-05-15Fix uninitalised variable in event.cpp (#5764)Zeno-
2016-10-06Fix C++11 Windows build of threading codesfan5
The initial problem was that mutex_auto_lock.h tries to use std::unique_lock<std::mutex> despite mutex.h not using C++11's std::mutex on Windows. The problem here is the mismatch between C++11 usage conditions of the two headers. This commit moves the decision logic to threads.h and makes sure mutex.h, mutex_auto_lock.h and event.h all use the same features.
2016-05-02Fix Windows buildCraig Robbins
Fixes the issue introduced by c1a0ebb (Fix use of uninitialised variable in class Event) causing Windows builds to fail
2016-05-01Fix use of uninitialised variable in class EventCraig Robbins
2015-12-11Fix events on WindowsBlockMen
2015-12-07Fix Event implementationShadowNinja
On non-windows platforms this just used a semaphore, which meant that multiple calls to signal() would result in wait() returning multiple times.