DUNE: Uniform Navigational Environment
2019.02.1
|
Scoped Mutex.
Public Member Functions | |
ScopedMutex (Mutex &l) | |
~ScopedMutex (void) | |
|
inline |
Construct the object, locking the associated mutex.
l | associated mutex. |
References DUNE::Concurrency::Mutex::lock().
Referenced by ~ScopedMutex().
|
inline |
Destruct the object, unlocking the associated mutex.
References ScopedMutex(), and DUNE::Concurrency::Mutex::unlock().