Lines Matching refs:priority
16 Events are specified by tuples (time, priority, action, argument).
17 As in UNIX, lower priority numbers mean higher priority; in this
18 way the queue can be maintained as a priority queue. Execution of the
36 Event = namedtuple('Event', 'time, priority, action, argument')
46 def enterabs(self, time, priority, action, argument):
53 event = Event(time, priority, action, argument)
57 def enter(self, delay, priority, action, argument):
64 return self.enterabs(time, priority, action, argument)
108 time, priority, action, argument = checked_event = q[0]
127 time, priority, action, arguments