![]() |
SASSY
0.0
Software Architecture Support System
|
Mutual exclusion lock. More...
#include <cfi/ipc.h>
Public Member Functions | |
| SemaphoreLock (Semaphore &s) | |
| Constructor which acquires a lock on the supplied semaphore. More... | |
| ~SemaphoreLock () | |
| Destructor which releases the lock. | |
Mutual exclusion lock.
Wraps the Semaphore so that it will be automatically released even if an exception is thrown.
|
explicit |
Constructor which acquires a lock on the supplied semaphore.
| s | The semaphore being managed |
1.8.5