

Go to the source code of this file.
Data Structures | |
| struct | _CONDITION |
| Condition variable. More... | |
Typedefs | |
| typedef struct _CONDITION | CONDITION |
| Condition variable type. | |
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. | |