#include <PsnSprocSemaphore.h>
Inheritance diagram for PsnSprocSemaphore:


Public Methods | |
| PsnSprocSemaphore (const int valeurInitiale) | |
| Constructor. | |
| virtual | ~PsnSprocSemaphore () |
| Destructor. | |
| virtual int | V () |
| V Increments the semphore value and signals the change to blocked threads. | |
| virtual int | P () |
| P decrement the sempaphore value and block the calling thread if this value is negative. | |
Private Attributes | |
| sem_t | _semaphore |
Definition at line 28 of file PsnSprocSemaphore.h.
|
|
Constructor.
|
|
|
Destructor.
|
|
|
P decrement the sempaphore value and block the calling thread if this value is negative.
Implements PsnSemaphore. |
|
|
V Increments the semphore value and signals the change to blocked threads.
Implements PsnSemaphore. |
|
|
Definition at line 57 of file PsnSprocSemaphore.h. |
| Documentation generated on Mon Nov 25 15:26:30 2002 |
Generated with doxygen 1.2.12 by Dimitri van Heesch , 1997-2001 |