Semaphore is acquired on Scoped_Lock construction and released on destruction. More...
#include <Semaphore.h>

Public Member Functions | |
| Scoped_Lock (Semaphore &semaphore) | |
| Constructor, takes in reference to Semaphore object that will be controlled. | |
| ~Scoped_Lock () | |
| Destructor, releases Semaphore object. | |
Semaphore is acquired on Scoped_Lock construction and released on destruction.