Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Related Pages

oSIP condition variables definitions
[The OS port modules]


Functions

struct osip_cond * osip_cond_init (void)
int osip_cond_destroy (struct osip_cond *cond)
int osip_cond_signal (struct osip_cond *cond)
int osip_cond_wait (struct osip_cond *cond, struct osip_mutex *mut)
int osip_cond_timedwait (struct osip_cond *cond, struct osip_mutex *mut, const struct timespec *abstime)

Function Documentation

int osip_cond_destroy ( struct osip_cond * cond )

Destroy a condition variable

Parameters:
cond The condition variable to destroy.

struct struct osip_cond* osip_cond_init ( void )

Allocate and Initialise a condition variable

int osip_cond_signal ( struct osip_cond * cond )

Signal the condition variable.

Parameters:
cond The condition variable to signal.

int osip_cond_timedwait ( struct osip_cond * cond,
struct osip_mutex * mut,
const struct timespec * abstime
)

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,
struct osip_mutex * mut
)

Wait on the condition variable.

Parameters:
cond The condition variable to wait on.
mut The external mutex

Generated on Tue Feb 22 00:59:47 2005 for libosip by doxygen 1.4.1

AltStyle によって変換されたページ (->オリジナル) /