Lines Matching defs:queue
135 * Protects the queue. We cannot call select or deselect while holding
141 * Notified when events are available on the queue.
146 * Used to wait on a changing select_event while the queue lock is dropped
370 // If it's not already queued, it's our responsibility to queue it.
521 * queue lock held. This method will sleep if the event is undergoing selection
552 EventQueue* queue = (EventQueue*)descriptor->u.queue;
553 queue->Closed();
561 EventQueue* queue = (EventQueue*)descriptor->u.queue;
562 put_select_sync(queue);
616 EventQueue* queue = new(std::nothrow) EventQueue(false);
617 if (queue == NULL)
620 ObjectDeleter<EventQueue> deleter(queue);
628 descriptor->u.queue = (struct event_queue*)queue;
648 _user_event_queue_select(int queue, event_wait_info* userInfos, int numInfos)
660 GET_QUEUE_FD_OR_RETURN(queue, false, descriptor);
663 EventQueue* eventQueue = (EventQueue*)descriptor->u.queue;
698 _user_event_queue_wait(int queue, event_wait_info* userInfos, int numInfos,
713 GET_QUEUE_FD_OR_RETURN(queue, false, descriptor);
716 EventQueue* eventQueue = (EventQueue*)descriptor->u.queue;