Hire Our Expert Programmer & Technical Writer To Do Your Capstone Project
+1 vote
in Compilers & Operating Systems by (user.guest)

1 Answer

+1 vote
by (user.guest)
selected by (user.guest)
Best answer

The two possible ways for an Operating system to regain control of the processor are:

  1. The process issues a system call (sometimes called a software interrupt); for example, an I/O request occurs requesting to access a file on hard disk.
  2. A hardware interrupt occurs; for example, a key was pressed on the keyboard, or a timer runs out (This is used in pre-emptive multitasking).

Related questions

Welcome to CPENTalk.com

Disclaimer: Every user is solely responsible for anything that he/she posts or uploads on CPENTalk.