simple wrapper around semBLib for easier transition to linux
More...
#include <BinarySemaphore.h>
simple wrapper around semBLib for easier transition to linux
- Author
- Varun Parthasarathy
BinarySemaphore::BinarySemaphore |
( |
UINT32 |
state | ) |
|
|
explicit |
- Parameters
-
state | initial state of the semaphore |
void BinarySemaphore::Flush |
( |
| ) |
|
void BinarySemaphore::Give |
( |
| ) |
|
void BinarySemaphore::Take |
( |
| ) |
|
Waits forever for a semaphore to be given, and takes it
void BinarySemaphore::Take |
( |
int |
timeout | ) |
|
Waits until the timeout expires or a semaphore is given
- Parameters
-
timeout | the number of milliseconds to wait before continuing |
The documentation for this class was generated from the following files: