diff --git a/node/Mutex.hpp b/node/Mutex.hpp index b68e5d935..53ae05c4c 100644 --- a/node/Mutex.hpp +++ b/node/Mutex.hpp @@ -177,6 +177,16 @@ public: DeleteCriticalSection(&_cs); } + inline void lock() + { + EnterCriticalSection(&_cs); + } + + inline void unlock() + { + LeaveCriticalSection(&_cs); + } + inline void lock() const { (const_cast (this))->lock();