Rebel Fork Framework
|
Lock that automatically acquires and releases a mutex. More...
#include <Urho3D/Core/Mutex.h>
Public Member Functions | |
MutexLock (T &mutex) | |
Construct and acquire the mutex. | |
~MutexLock () | |
Destruct. Release the mutex. | |
Private Attributes | |
T & | mutex_ |
Mutex reference. | |
Additional Inherited Members | |
![]() | |
NonCopyable (const NonCopyable &other)=delete | |
NonCopyable (NonCopyable &&other)=delete | |
NonCopyable & | operator= (const NonCopyable &other)=delete |
NonCopyable & | operator= (NonCopyable &&other)=delete |
Lock that automatically acquires and releases a mutex.