#include <BasicCondition.h>
Inheritance diagram for BasicCondition:
Public Member Functions | |
BasicCondition () | |
~BasicCondition () | |
void | wait () |
Wait for a signal indefinately. | |
bool | timedWait (int msec) |
Wait for a signal no longer than msec milliseconds. | |
void | signal () |
Signal one waiting process. | |
void | broadcast () |
Signal all waiting processes. | |
Private Attributes | |
pthread_cond_t | cond |
|
|
|
|
|
Signal all waiting processes.
|
|
Signal one waiting process.
|
|
Wait for a signal no longer than msec milliseconds. This usefull if you cannot always guarantee a signal will come.
|
|
Wait for a signal indefinately.
|
|
|