aboutsummaryrefslogtreecommitdiff
path: root/src/threading/event.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove threads.h and replace its definitions with their C++11 equivalents ↵ShadowNinja2017-06-111-0/+1
| | | | | | (#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-061-48/+0
| | | | * Fix event LINT & remove default constructor/destructors * remove compat code & modernize autolock header
* Fix uninitalised variable in event.cpp (#5764)Zeno-2017-05-151-0/+2
|
* Fix C++11 Windows build of threading codesfan52016-10-061-8/+8
| | | | | | | 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-021-1/+1
| | | | | 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-011-3/+6
|
* Fix events on WindowsBlockMen2015-12-111-9/+0
|
* Fix Event implementationShadowNinja2015-12-071-0/+95
On non-windows platforms this just used a semaphore, which meant that multiple calls to signal() would result in wait() returning multiple times.