Functions
Allocate and Initialise a condition variable.
More...
Destroy a condition variable.
More...
Signal the condition variable.
More...
Wait on the condition variable.
More...
Timed wait on the condition variable.
More...
Detailed Description
Function Documentation
int osip_cond_destroy
(
struct osip_cond *
cond )
#include <osip_condv.h>
Destroy a condition variable.
- Parameters
-
cond The condition variable to destroy.
struct osip_cond* osip_cond_init
(
void
)
#include <osip_condv.h>
Allocate and Initialise a condition variable.
int osip_cond_signal
(
struct osip_cond *
cond )
#include <osip_condv.h>
Signal the condition variable.
- Parameters
-
cond The condition variable to signal.
int osip_cond_timedwait
(
struct osip_cond *
cond,
const struct timespec *
abstime
)
#include <osip_condv.h>
Timed wait on the condition variable.
- Parameters
-
cond The condition variable to wait on.
mut The external mutex
abstime time to wait until
int osip_cond_wait
(
struct osip_cond *
cond,
)
#include <osip_condv.h>
Wait on the condition variable.
- Parameters
-
cond The condition variable to wait on.
mut The external mutex