|
Urho3D
|
Lock that automatically acquires and releases a mutex. More...
#include </home/runner/work/urho3d-doxygen.github.io/urho3d-doxygen.github.io/urho3d_repo/Source/Urho3D/Core/Mutex.h>
Public Member Functions | |
| MutexLock (Mutex &mutex) | |
| Construct and acquire the mutex. | |
| ~MutexLock () | |
| Destruct. Release the mutex. | |
| MutexLock (const MutexLock &rhs)=delete | |
| Prevent copy construction. | |
| MutexLock & | operator= (const MutexLock &rhs)=delete |
| Prevent assignment. | |
Private Attributes | |
| Mutex & | mutex_ |
| Mutex reference. | |
Lock that automatically acquires and releases a mutex.