I have read that an operating system implements scheduling using the following method:
- The CPU must have a hardware timer that fires an interrupt every X milliseconds.
- Once the timer interrupt fires, the timer interrupt handler will execute instructions that will make the CPU start executing another process (or another thread I guess I should say).
My question is: Is the method I just described the only way to implement scheduling?