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