SigCX::Threads::Semaphore Class Reference
[Threading]
Integer Semaphore.
More...
#include <thread.h>
List of all members.
Detailed Description
Integer Semaphore.
A Semaphore is a counter that has can be decremented and incremented. The increment never blocks, the decrement blocks when trying to decrement below zero.
Constructor & Destructor Documentation
SigCX::Threads::Semaphore::Semaphore |
( |
int |
value = 1 |
) |
[inline] |
|
|
Constructor.
- Parameters:
-
| value | initial value of the semaphore. |
|
SigCX::Threads::Semaphore::~Semaphore |
( |
|
) |
[inline] |
|
Member Function Documentation
void SigCX::Threads::Semaphore::down |
( |
|
) |
|
|
void SigCX::Threads::Semaphore::up |
( |
|
) |
|
|
The documentation for this class was generated from the following file:
Generated on Sun Apr 10 18:35:43 2005 for SigCX - SigC++ Extras by
1.4.2