Exemplo n.º 1
0
def CheckInterruptEvents():
    """Checks for any interrupts."""
    if SystemState.interrupt_queue.empty() is False:
        interrupt_args = SystemState.interrupt_queue.get()
        Interrupt.ProcessInterruptEvents(interrupt_args)