Coin Logo Coin3D is Free Software,
published under the BSD 3-clause license.
https://bitbucket.org/Coin3D/
http://www.kongsberg.com/kogt/
condvar.h File Reference
#include <Inventor/C/basic.h>
#include <Inventor/C/base/time.h>
#include <Inventor/C/threads/common.h>

Go to the source code of this file.

Functions

cc_condvarcc_condvar_construct (void)
 
void cc_condvar_destruct (cc_condvar *condvar)
 
int cc_condvar_wait (cc_condvar *condvar, cc_mutex *mutex)
 
int cc_condvar_timed_wait (cc_condvar *condvar, cc_mutex *mutex, cc_time period)
 
void cc_condvar_wake_one (cc_condvar *condvar)
 
void cc_condvar_wake_all (cc_condvar *condvar)
 

Function Documentation

◆ cc_condvar_construct()

cc_condvar* cc_condvar_construct ( void  )

Constructs a conditional variable.

◆ cc_condvar_destruct()

void cc_condvar_destruct ( cc_condvar condvar)

Destroys the given condvar.

◆ cc_condvar_wait()

int cc_condvar_wait ( cc_condvar condvar,
cc_mutex mutex 
)

Wait indefinitely for the condvar conditional variable using the specified mutex lock.

◆ cc_condvar_timed_wait()

int cc_condvar_timed_wait ( cc_condvar condvar,
cc_mutex mutex,
cc_time  period 
)

Wait for no more than the period for the condvar conditional variable using the specified mutex lock.

◆ cc_condvar_wake_one()

void cc_condvar_wake_one ( cc_condvar condvar)

Wake one thread waiting for the condvar conditional variable.

◆ cc_condvar_wake_all()

void cc_condvar_wake_all ( cc_condvar condvar)

Wake all threads waiting for the condvar conditional variable.