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