22 #define OS_CONDITION_TAG 0x634E6456u
uint32_t tag
Should always be set to the value OS_CONDITION_TAG.
OSThreadQueue queue
Queue of threads currently waiting on condition with OSWaitCond.
const char * name
Name set by OSInitCondEx.
void OSInitCond(OSCondition *condition)
Initialise a condition variable structure.
void OSInitCondEx(OSCondition *condition, const char *name)
Initialise a condition variable structure with a name.
void OSSignalCond(OSCondition *condition)
Will wake up any threads waiting on the condition with OSWaitCond.
void OSWaitCond(OSCondition *condition, OSMutex *mutex)
Sleep the current thread until the condition variable has been signalled.