thread/Mutex: add RecursiveMutex
This commit is contained in:
parent
76497bd5f7
commit
a57bcd0238
@ -10,10 +10,12 @@
|
||||
|
||||
#include "CriticalSection.hxx"
|
||||
using Mutex = CriticalSection;
|
||||
using RecursiveMutex = CriticalSection;
|
||||
|
||||
#else
|
||||
|
||||
using Mutex = std::mutex;
|
||||
using RecursiveMutex = std::recursive_mutex;
|
||||
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user