summaryrefslogtreecommitdiff
path: root/src/threading/event.cpp
Commit message (Collapse)AuthorAge
* Remove threads.h and replace its definitions with their C++11 equivalents ↵ShadowNinja2017-06-11
| | | | | | (#5957) This also changes threadProc's signature, since C++11 supports arbitrary thread function signatures.
* Use C++11 mutexes only (remove compat code) (#5922)Loïc Blot2017-06-06
| | | | * Fix event LINT & remove default constructor/destructors * remove compat code & modernize autolock header
* Fix uninitalised variable in event.cpp (#5764)Zeno-2017-05-15
|
* Fix C++11 Windows build of threading codesfan52016-10-06
| | | | | | | 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.
* Fix Windows buildCraig Robbins2016-05-02
| | | | | Fixes the issue introduced by c1a0ebb (Fix use of uninitialised variable in class Event) causing Windows builds to fail
* Fix use of uninitialised variable in class EventCraig Robbins2016-05-01
|
* Fix events on WindowsBlockMen2015-12-11
|
* Fix Event implementationShadowNinja2015-12-07
On non-windows platforms this just used a semaphore, which meant that multiple calls to signal() would result in wait() returning multiple times.