We saw last time that the function waits only once for a process to go input idle. Even if the process later stops processing messages, will return immediately and say, "Yeah, he's idle."
The way a process is determined to be input idle is that it is waiting for user input when there is none. This translates into the process sitting in a ...