aboutsummaryrefslogtreecommitdiff
path: root/src/3rdParty/efsw/Mutex.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdParty/efsw/Mutex.hpp')
-rwxr-xr-xsrc/3rdParty/efsw/Mutex.hpp31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/3rdParty/efsw/Mutex.hpp b/src/3rdParty/efsw/Mutex.hpp
new file mode 100755
index 0000000..d98ad17
--- /dev/null
+++ b/src/3rdParty/efsw/Mutex.hpp
@@ -0,0 +1,31 @@
1#ifndef EFSW_MUTEX_HPP
2#define EFSW_MUTEX_HPP
3
4#include <efsw/base.hpp>
5
6namespace efsw {
7
8namespace Platform {
9class MutexImpl;
10}
11
12/** Simple mutex class */
13class Mutex {
14 public:
15 Mutex();
16
17 ~Mutex();
18
19 /** Lock the mutex */
20 void lock();
21
22 /** Unlock the mutex */
23 void unlock();
24
25 private:
26 Platform::MutexImpl* mMutexImpl;
27};
28
29} // namespace efsw
30
31#endif