#include <sys/heap.h>#include <sys/event.h>#include <sys/atom.h>#include <sys/timer.h>#include <sys/thread.h>#include <sys/condition.h>#include <stddef.h>
Go to the source code of this file.
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 | 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. | |