Exemplo n.º 1
0
 def timer_tick(self):
     """Called by the platform each machine tick based on self.HZ"""
     self.timing.timer_tick()  # notifies the timing module
     self.events.post('timer_tick')  # sends the timer_tick system event
     self.tick_num += 1
     Task.timer_tick()  # notifies tasks
     DelayManager.timer_tick(self)
     self.events._process_event_queue()