19 #define OS_SEMAPHORE_TAG 0x73506852u
OSThreadQueue queue
Queue of threads waiting on semaphore object with OSWaitSemaphore.
int32_t OSTryWaitSemaphore(OSSemaphore *semaphore)
const char * name
Name set by OSInitMutexEx.
int32_t OSWaitSemaphore(OSSemaphore *semaphore)
int32_t count
Current count of semaphore.
uint32_t tag
Should always be set to the value OS_SEMAPHORE_TAG.
void OSInitSemaphoreEx(OSSemaphore *semaphore, int32_t count, const char *name)
int32_t OSSignalSemaphore(OSSemaphore *semaphore)
int32_t OSGetSemaphoreCount(OSSemaphore *semaphore)
void OSInitSemaphore(OSSemaphore *semaphore, int32_t count)