Fix Event implementation 3408/head
authorShadowNinja <shadowninja@minetest.net>
Sun, 29 Nov 2015 05:17:51 +0000 (00:17 -0500)
committerShadowNinja <shadowninja@minetest.net>
Mon, 7 Dec 2015 18:53:56 +0000 (13:53 -0500)
commit696148e29889b2923f926b27f76979454676506d
treecad2d63201dd7242794575327da22a795a083afe
parentea2964f5a168cb52d1b9f74a08f00c7c068c6649
Fix Event implementation

On non-windows platforms this just used a semaphore,
which meant that multiple calls to signal() would
result in wait() returning multiple times.
src/threading/CMakeLists.txt
src/threading/event.cpp [new file with mode: 0644]
src/threading/event.h