Lines Matching defs:queue
118 ThreadQueue queue; // should be in u.used, but has a constructor
184 kprintf("queue: ");
185 if (!sem->queue.IsEmpty()) {
186 ThreadQueue::Iterator it = sem->queue.GetIterator();
332 while (queued_thread* entry = sem.queue.RemoveHead()) {
512 new(&sem->queue) ThreadQueue;
598 /*! Forcibly removes a thread from a semaphores wait queue. May have to wake up
608 sem->queue.Remove(entry);
619 while ((entry = sem->queue.Head()) != NULL) {
635 sem->queue.Remove(entry);
810 // enqueue in the semaphore queue and get ready to wait
812 sSems[slot].queue.Add(&queueEntry);
929 // timed out threads in the queue.
936 queued_thread* entry = sSems[slot].queue.Head();
967 sSems[slot].queue.Remove(entry);