Searched refs:dequeue_sem (Results 1 – 1 of 1) sorted by relevance
34 semaphore_t* dequeue_sem; member58 ret->dequeue_sem = semaphore_new(0); in fixed_queue_new()59 if (!ret->dequeue_sem) goto error; in fixed_queue_new()80 semaphore_free(queue->dequeue_sem); in fixed_queue_free()127 semaphore_post(queue->dequeue_sem); in fixed_queue_enqueue()133 semaphore_wait(queue->dequeue_sem); in fixed_queue_dequeue()158 semaphore_post(queue->dequeue_sem); in fixed_queue_try_enqueue()165 if (!semaphore_try_wait(queue->dequeue_sem)) return NULL; in fixed_queue_try_dequeue()200 semaphore_try_wait(queue->dequeue_sem)) { in fixed_queue_try_remove_from_queue()224 return semaphore_get_fd(queue->dequeue_sem); in fixed_queue_get_dequeue_fd()