How do I make my program not use CPU cycles when it's waiting for a cirtain event to occur (like input from a hardware port)?
Printable View
How do I make my program not use CPU cycles when it's waiting for a cirtain event to occur (like input from a hardware port)?
As far as I am concerned, when you program is waiting for an input for example, the process is blocked by the OS until the IO operation is done, you don“t need to worry about it