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