SIP Witch 1.9.15
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
oSIP condition variables definitions

Functions

struct osip_cond * osip_cond_init (void)
 Allocate and Initialise a condition variable. More...
 
int osip_cond_destroy (struct osip_cond *cond)
 Destroy a condition variable. More...
 
int osip_cond_signal (struct osip_cond *cond)
 Signal the condition variable. More...
 
int osip_cond_wait (struct osip_cond *cond, struct osip_mutex *mut)
 Wait on the condition variable. More...
 
int osip_cond_timedwait (struct osip_cond *cond, struct osip_mutex *mut, const struct timespec *abstime)
 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
condThe 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
condThe condition variable to signal.
int osip_cond_timedwait ( struct osip_cond *  cond,
struct osip_mutex mut,
const struct timespec *  abstime 
)

#include <osip_condv.h>

Timed wait on the condition variable.

Parameters
condThe condition variable to wait on.
mutThe external mutex
abstimetime to wait until
int osip_cond_wait ( struct osip_cond *  cond,
struct osip_mutex mut 
)

#include <osip_condv.h>

Wait on the condition variable.

Parameters
condThe condition variable to wait on.
mutThe external mutex