#include <cybergarage/util/ccond.h>#include <cybergarage/util/clog.h>#include <sys/time.h>Functions | |
| CgCond * | cg_cond_new () |
| BOOL | cg_cond_delete (CgCond *cond) |
| BOOL | cg_cond_wait (CgCond *cond, CgMutex *mutex, unsigned long timeout) |
| BOOL | cg_cond_signal (CgCond *cond) |
Destroy a condition variable
| cond | The cond to destroy |
| CgCond* cg_cond_new | ( | ) |
Create a new condition variable
Signal a condition variable
| cond | Cond to be signalled |
Wait for condition variable to be signalled.
| cond | Cond to be waited | |
| mutex | Mutex used for synchronization | |
| timeout | Maximum time in seconds to wait, 0 to wait forever |
1.4.7