aboutsummaryrefslogtreecommitdiff
path: root/src/3rdParty/efsw/Mutex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdParty/efsw/Mutex.cpp')
-rwxr-xr-xsrc/3rdParty/efsw/Mutex.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/3rdParty/efsw/Mutex.cpp b/src/3rdParty/efsw/Mutex.cpp
new file mode 100755
index 0000000..c961db1
--- /dev/null
+++ b/src/3rdParty/efsw/Mutex.cpp
@@ -0,0 +1,20 @@
1#include <efsw/Mutex.hpp>
2#include <efsw/platform/platformimpl.hpp>
3
4namespace efsw {
5
6Mutex::Mutex() : mMutexImpl( new Platform::MutexImpl() ) {}
7
8Mutex::~Mutex() {
9 efSAFE_DELETE( mMutexImpl );
10}
11
12void Mutex::lock() {
13 mMutexImpl->lock();
14}
15
16void Mutex::unlock() {
17 mMutexImpl->unlock();
18}
19
20} // namespace efsw