Searched refs:dequeue_sem (Results 1 – 1 of 1) sorted by relevance
33 semaphore_t *dequeue_sem; member58 ret->dequeue_sem = semaphore_new(0); in fixed_queue_new()59 if (!ret->dequeue_sem) in fixed_queue_new()81 semaphore_free(queue->dequeue_sem); in fixed_queue_free()124 semaphore_post(queue->dequeue_sem); in fixed_queue_enqueue()130 semaphore_wait(queue->dequeue_sem); in fixed_queue_dequeue()153 semaphore_post(queue->dequeue_sem); in fixed_queue_try_enqueue()161 if (!semaphore_try_wait(queue->dequeue_sem)) in fixed_queue_try_dequeue()203 semaphore_try_wait(queue->dequeue_sem)) { in fixed_queue_try_remove_from_queue()227 return semaphore_get_fd(queue->dequeue_sem); in fixed_queue_get_dequeue_fd()