Lines Matching defs:queue

71 //! The current event queue for the running thread. Access to this queue
79 //! Function for returning eventq queue for the provided
80 //! index. The function allocates a new queue in case one
112 static const FlagsType IsMainQueue = 0x0020; // on main event queue
183 * An item on an event queue. The action caused by a given
194 // The event queue is now a linked list of linked lists. The
223 /// queue to which this event belongs (though it may or may not be
224 /// scheduled on this queue yet)
225 EventQueue *queue;
238 queue = q;
297 * events once they have been removed from the event queue. This
305 * event queue.
314 * Managed event scheduled and being held in the event queue.
323 * Managed event removed from the event queue.
343 * @param queue that the event gets scheduled on
352 queue = NULL;
457 * Events are scheduled (inserted into the event queue) using the
463 * from a thread holding the event queue lock
466 * own event queue unless it voluntarily releases the lock.
468 * Events can be scheduled across thread (and event queue borders) by
470 * queue's lock. However, the lock should <i>never</i> be taken
473 * temporarily release its own queue and lock the new queue. This
475 * event queue lock. This functionality is provided by the
483 * the previous queue migration strategy, this strategy is fully
485 * queue of asynchronous events (async_queue), which is merged main
486 * event queue at the end of each simulation quantum (by calling the
499 //! Mutex to protect async queue.
502 //! List of events added by other threads to this event queue.
515 * queue to support inter-thread communication when some
527 //! Insert / remove event from the queue. Should only be called
528 //! by thread operating this queue.
532 //! Function for adding events to the async queue. The added events
533 //! are added to main event queue later. Threads, other than the
541 * Temporarily migrate execution to a different event queue.
544 * different event queue by releasing the current queue, locking
545 * the new queue, and updating curEventQueue(). This can, for
582 * Temporarily release the event queue service lock.
585 * the event queue lock to prevent deadlocks. For example, when
588 * temporarily take over the event queue waiting on the barrier.
613 //! Schedule the given event on this queue. Safe to call from any
660 //! Function for moving events from the async_queue to the main queue.
674 * Or it can be ignored and the event queue can be woken up now.
679 * function for replacing the head of the event queue, so that a
690 * Provide an interface for locking/unlocking the event queue.
707 * Since events don't know which event queue they belong to,
729 /** A pointer to this object's event queue */