aboutsummaryrefslogtreecommitdiff
path: root/dep/efsw/src/efsw/Mutex.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'dep/efsw/src/efsw/Mutex.hpp')
-rw-r--r--dep/efsw/src/efsw/Mutex.hpp25
1 files changed, 2 insertions, 23 deletions
diff --git a/dep/efsw/src/efsw/Mutex.hpp b/dep/efsw/src/efsw/Mutex.hpp
index d98ad17c237..c1fca753863 100644
--- a/dep/efsw/src/efsw/Mutex.hpp
+++ b/dep/efsw/src/efsw/Mutex.hpp
@@ -1,31 +1,10 @@
#ifndef EFSW_MUTEX_HPP
#define EFSW_MUTEX_HPP
-#include <efsw/base.hpp>
+#include <mutex>
namespace efsw {
-
-namespace Platform {
-class MutexImpl;
-}
-
-/** Simple mutex class */
-class Mutex {
- public:
- Mutex();
-
- ~Mutex();
-
- /** Lock the mutex */
- void lock();
-
- /** Unlock the mutex */
- void unlock();
-
- private:
- Platform::MutexImpl* mMutexImpl;
-};
-
+ using Mutex = std::recursive_mutex;
} // namespace efsw
#endif