diff options
Diffstat (limited to 'dep/efsw/src/efsw/Mutex.hpp')
-rw-r--r-- | dep/efsw/src/efsw/Mutex.hpp | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/dep/efsw/src/efsw/Mutex.hpp b/dep/efsw/src/efsw/Mutex.hpp index e6e89def175..d98ad17c237 100644 --- a/dep/efsw/src/efsw/Mutex.hpp +++ b/dep/efsw/src/efsw/Mutex.hpp @@ -5,24 +5,27 @@ namespace efsw { -namespace Platform { class MutexImpl; } +namespace Platform { +class MutexImpl; +} /** Simple mutex class */ class Mutex { - public: - Mutex(); + public: + Mutex(); + + ~Mutex(); - ~Mutex(); + /** Lock the mutex */ + void lock(); - /** Lock the mutex */ - void lock(); + /** Unlock the mutex */ + void unlock(); - /** Unlock the mutex */ - void unlock(); - private: - Platform::MutexImpl * mMutexImpl; + private: + Platform::MutexImpl* mMutexImpl; }; -} +} // namespace efsw #endif |