Home | History | Annotate | Download | only in python2.7

Lines Matching defs:queue

3 Each instance of this class manages its own queue.
13 function is allowed to modify the queue. Time can be expressed as
18 way the queue can be maintained as a priority queue. Execution of the
47 """Enter a new event in the queue at an absolute time.
67 """Remove an event from the queue.
70 If the event is not in the queue, this raises ValueError.
77 """Check whether the queue is empty."""
81 """Execute events until the queue is empty.
84 delay function is called and the event is left in the queue;
85 otherwise, the event is removed from the queue and executed
91 function to modify the queue or to raise an exception;
123 def queue(self):
130 # Use heapq to sort the queue rather than using 'sorted(self._queue)'.