How and when to do a context switch? How do you handle a time slice interrupt?
multiple processes can share a single CPU resource and the scheduler allows every task to run for some certain amount of time, so one process needs to be switched out of the CPU so another process can run. Registers especially program counter and other specific data need to be switched out.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment