Home
last modified time | relevance | path

Searched refs:lwq (Results 1 – 2 of 2) sorted by path

/unit/src/
H A Dnxt_work_queue.c232 nxt_thread_spin_lock(&lwq->lock); in nxt_locked_work_queue_add()
234 if (lwq->tail != NULL) { in nxt_locked_work_queue_add()
235 lwq->tail->next = work; in nxt_locked_work_queue_add()
238 lwq->head = work; in nxt_locked_work_queue_add()
241 lwq->tail = work; in nxt_locked_work_queue_add()
260 work = lwq->head; in nxt_locked_work_queue_pop()
271 lwq->head = work->next; in nxt_locked_work_queue_pop()
274 lwq->tail = NULL; in nxt_locked_work_queue_pop()
296 work = lwq->head; in nxt_locked_work_queue_move()
298 lwq->head = NULL; in nxt_locked_work_queue_move()
[all …]
H A Dnxt_work_queue.h119 NXT_EXPORT void nxt_locked_work_queue_add(nxt_locked_work_queue_t *lwq,
122 nxt_locked_work_queue_t *lwq, nxt_task_t **task, void **obj, void **data);
124 nxt_locked_work_queue_t *lwq, nxt_work_queue_t *wq);