thread/Mutex: add RecursiveMutex

This commit is contained in:
Max Kellermann 2022-09-23 12:22:44 +02:00
parent 76497bd5f7
commit a57bcd0238

View File

@ -10,10 +10,12 @@
#include "CriticalSection.hxx"
using Mutex = CriticalSection;
using RecursiveMutex = CriticalSection;
#else
using Mutex = std::mutex;
using RecursiveMutex = std::recursive_mutex;
#endif