condition.c File Reference

Go to the source code of this file.

Functions

CONDITION NutConditionInit (void)
 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 NutConditionTimedWait (CONDITION cond, uint32_t abs_ms)
 Waits until this thread is woken up on cond but not longer than until the time specified by abs_ms.
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/