condition.h File Reference

Go to the source code of this file.

Data Structures

struct  CONDITION
 Condition variable. More...

Functions

int NutConditionInit (CONDITION *cond)
 Creates a new condition variable.
void NutConditionLock (CONDITION *cond)
 Locks the condition mutex.
void NutConditionUnlock (CONDITION *cond)
 Unocks the condition mutex.
int NutConditionWait (CONDITION *cond)
 Waits until this thread is woken up on cond.
int NutConditionSignal (CONDITION *cond)
 If threads are waiting for cond, exactly one of them is woken up.
int NutConditionBroadcast (CONDITION *cond)
 If threads are waiting for cond, all of them are woken up.
void NutConditionFree (CONDITION *cond)
 Free the ressources used by this condition variable.


© 2000-2007 by egnite Software GmbH - visit http://www.ethernut.de/