Home
last modified time | relevance | path

Searched refs:pq_lists (Results 1 – 2 of 2) sorted by relevance

/mirbsd/src/lib/libpthread/uthread/
Duthread_priority_queue.c96 else if ((pq->pq_lists = in _pq_alloc()
113 if ((pq == NULL) || (pq->pq_lists == NULL)) in _pq_init()
119 TAILQ_INIT(&pq->pq_lists[i].pl_head); in _pq_init()
120 pq->pq_lists[i].pl_prio = i; in _pq_init()
121 pq->pq_lists[i].pl_queued = 0; in _pq_init()
151 TAILQ_REMOVE(&pq->pq_lists[prio].pl_head, pthread, pqe); in _pq_remove()
173 TAILQ_INSERT_HEAD(&pq->pq_lists[prio].pl_head, pthread, pqe); in _pq_insert_head()
174 if (pq->pq_lists[prio].pl_queued == 0) in _pq_insert_head()
198 TAILQ_INSERT_TAIL(&pq->pq_lists[prio].pl_head, pthread, pqe); in _pq_insert_tail()
199 if (pq->pq_lists[prio].pl_queued == 0) in _pq_insert_tail()
[all …]
Dpthread_private.h210 pq_list_t *pq_lists; /* array of all priority lists */ member