20 #ifndef __OSIP_CONDV_H__
21 #define __OSIP_CONDV_H__
25 #ifndef OSIP_MONOTHREAD
53 #if defined(WIN32) || defined(_WIN32_WCE)
55 #ifndef HAVE_STRUCT_TIMESPEC
56 #define HAVE_STRUCT_TIMESPEC 1
int osip_cond_signal(struct osip_cond *cond)
Signal the condition variable.
int osip_cond_wait(struct osip_cond *cond, struct osip_mutex *mut)
Wait on the condition variable.
int osip_cond_timedwait(struct osip_cond *cond, struct osip_mutex *mut, const struct timespec *abstime)
Timed wait on the condition variable.
int osip_cond_destroy(struct osip_cond *cond)
Destroy a condition variable.
struct osip_cond * osip_cond_init(void)
Allocate and Initialise a condition variable.
Structure for referencing a mutex element.