1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-11-14 21:35:05 -05:00
minetest/src/threading
sfan5 0a16e53b40 Fix C++11 Windows build of threading code
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-10-06 22:37:30 +02:00
..
atomic.h Time: use locks again 2015-11-04 03:44:09 +01:00
CMakeLists.txt Fix Event implementation 2015-12-07 13:53:56 -05:00
event.cpp Fix C++11 Windows build of threading code 2016-10-06 22:37:30 +02:00
event.h Fix C++11 Windows build of threading code 2016-10-06 22:37:30 +02:00
mutex_auto_lock.h Fix C++11 Windows build of threading code 2016-10-06 22:37:30 +02:00
mutex.cpp Fix C++11 Windows build of threading code 2016-10-06 22:37:30 +02:00
mutex.h Fix C++11 Windows build of threading code 2016-10-06 22:37:30 +02:00
semaphore.cpp Fix MinGW 32-bit build 2015-10-03 13:20:43 -04:00
semaphore.h Rename and move basicmacros.h to util/basic_macros.h 2015-11-02 04:57:55 +01:00
thread.cpp Fix C++11 Windows build of threading code 2016-10-06 22:37:30 +02:00
thread.h Fix C++11 Windows build of threading code 2016-10-06 22:37:30 +02:00