Pressing the keyboard triggers an interrupt.
Then, EXECUTE of CPU is finished and interrupt check is performed, and ISR is executed. But if I don't take the keyboard off, the interrupt will continue to occur, and I think that the program won't die. But even if I keep pressing the keyboard while playing the game, the program doesn't die.
I think the operating system is blocking the keyboard interrupt, but I'm curious to know what it is.