aboutsummaryrefslogtreecommitdiff
path: root/src/threading/event.cpp
AgeCommit message (Collapse)Author
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.