Coin3D is Free Software, published under the BSD 3-clause license. |
https://bitbucket.org/Coin3D/ http://www.kongsberg.com/kogt/ |
#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_condvar * | cc_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) |
cc_condvar* cc_condvar_construct | ( | void | ) |
Constructs a conditional variable.
void cc_condvar_destruct | ( | cc_condvar * | condvar | ) |
Destroys the given condvar.
int cc_condvar_wait | ( | cc_condvar * | condvar, |
cc_mutex * | mutex | ||
) |
Wait indefinitely for the condvar conditional variable using the specified mutex lock.
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.
void cc_condvar_wake_one | ( | cc_condvar * | condvar | ) |
Wake one thread waiting for the condvar conditional variable.
void cc_condvar_wake_all | ( | cc_condvar * | condvar | ) |
Wake all threads waiting for the condvar conditional variable.