| 
    VICI
    0.11.815
    
   Visual Chart Interpreter 
   | 
 
A semaphore for managing exclusive access to resources across multiple processes. More...
#include <vici/ipc.h>
Public Member Functions | |
| Semaphore (char id) | |
| Constructor.  More... | |
| ~Semaphore () | |
| Destructor.  | |
| void | acquire () | 
| wait until available  | |
| void | release () | 
| release exclusive lock  | |
A semaphore for managing exclusive access to resources across multiple processes.
Provides the ability to limit access to a resource to one process at a time.
The semaphore uses a second semaphore to manage its lifetime. The first process to create it creates the system wide semaphore, and the last to delete it removes the system wide semaphore.
| Semaphore::Semaphore | ( | char | id | ) | 
Constructor.
| id | an identifier for the semaphore. | 
 1.8.5