#include <cybergarage/typedef.h>
#include <cybergarage/util/cmutex.h>
#include <pthread.h>
Data Structures | |
struct | _CgCond |
The generic wrapper struct for CyberLinkC's conds. More... | |
Typedefs | |
typedef _CgCond | CgCond |
The generic wrapper struct for CyberLinkC's conds. | |
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) |
|
The generic wrapper struct for CyberLinkC's conds. This wrapper has been created to enable 100% code compatibility for different platforms (Linux, Win32 etc..) |
|
Destroy a condition variable
|
|
Create a new condition variable |
|
Signal a condition variable
|
|
Wait for condition variable to be signalled.
|