Searched refs:Semaphore (Results 1 – 4 of 4) sorted by relevance
12 typedef struct Semaphore struct18 LIST_ENTRY(Semaphore) semaphoreList; argument19 } Semaphore; typedef21 void Semaphore_Init(Semaphore *sema, int count, const char *name);22 void Semaphore_Destroy(Semaphore *sema);23 void Semaphore_Acquire(Semaphore *sema);25 void Semaphore_Release(Semaphore *sema);26 bool Semaphore_TryAcquire(Semaphore *sema);
88 Semaphore zombieSemaphore;
20 LIST_HEAD(SemaListHead, Semaphore) semaList = LIST_HEAD_INITIALIZER(semaList);25 Semaphore_Init(Semaphore *sema, int count, const char *name) in Semaphore_Init()39 Semaphore_Destroy(Semaphore *sema) in Semaphore_Destroy()49 Semaphore_Acquire(Semaphore *sema) in Semaphore_Acquire()72 Semaphore_Release(Semaphore *sema) in Semaphore_Release()89 Semaphore_TryAcquire(Semaphore *sema) in Semaphore_TryAcquire()104 Semaphore *sema; in Debug_Semaphores()
139 Semaphore ioSema;