DUNE: Uniform Navigational Environment
2.6.0-rc4
|
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().