DUNE: Uniform Navigational Environment
2.4.2
|
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().
|
inline |
Destruct the object, unlocking the associated mutex.
References DUNE::Concurrency::Mutex::unlock().