mirror of
https://github.com/moparisthebest/minetest
synced 2024-11-14 21:35:05 -05:00
0a16e53b40
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. |
||
---|---|---|
.. | ||
atomic.h | ||
CMakeLists.txt | ||
event.cpp | ||
event.h | ||
mutex_auto_lock.h | ||
mutex.cpp | ||
mutex.h | ||
semaphore.cpp | ||
semaphore.h | ||
thread.cpp | ||
thread.h |