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
181 if (0 != sem_init(&inst->semaphore, 0, 0)) { in HalCreate()190 sem_destroy(&inst->semaphore); in HalCreate()198 sem_destroy(&inst->semaphore); in HalCreate()218 sem_destroy(&inst->semaphore); in HalCreate()235 sem_destroy(&inst->semaphore); in HalCreate()246 sem_destroy(&inst->semaphore); in HalCreate()279 sem_destroy(&inst->semaphore); in HalDestroy()542 sem_post(&inst->semaphore); in HalEnqueueThreadMessage()703 HalSemWait(&inst->semaphore, HalCalcSemWaitingTime(inst, &now)); in HalWorkerThread()
106 sem_t semaphore; member