Searched refs:semaphore (Results 1 – 4 of 4) sorted by relevance
162 if (0 != sem_init(&inst->semaphore, 0, 0)) { in HalCreate()171 sem_destroy(&inst->semaphore); in HalCreate()179 sem_destroy(&inst->semaphore); in HalCreate()199 sem_destroy(&inst->semaphore); in HalCreate()217 sem_destroy(&inst->semaphore); in HalCreate()228 sem_destroy(&inst->semaphore); in HalCreate()262 sem_destroy(&inst->semaphore); in HalDestroy()521 sem_post(&inst->semaphore); in HalEnqueueThreadMessage()689 HalSemWait(&inst->semaphore, HalCalcSemWaitingTime(inst, &now)); in HalWorkerThread()
105 sem_t semaphore; member
158 if (0 != sem_init(&inst->semaphore, 0, 0)) { in HalCreate()167 sem_destroy(&inst->semaphore); in HalCreate()175 sem_destroy(&inst->semaphore); in HalCreate()195 sem_destroy(&inst->semaphore); in HalCreate()212 sem_destroy(&inst->semaphore); in HalCreate()223 sem_destroy(&inst->semaphore); in HalCreate()256 sem_destroy(&inst->semaphore); in HalDestroy()519 sem_post(&inst->semaphore); in HalEnqueueThreadMessage()680 HalSemWait(&inst->semaphore, HalCalcSemWaitingTime(inst, &now)); in HalWorkerThread()
106 sem_t semaphore; member