Question: One reason for using a quantum to interrupt a running process after a reasonable period is to allow the operating system to regain the processor

One reason for using a quantum to interrupt a running process after a "reasonable" period is to allow the operating system to regain the processor and dispatch the next process. Suppose that a system does not have an interrupting clock and the only way a process can lose the processor is to relinquish it voluntarily. Suppose also that no dispatching mechanism is provided in the operating system. a Describe how a group of user processes could cooperate among themselves to effect a user-controlled dispatching mechanism. b What potential dangers are inherent in this scheme? c What are the advantages to the users over a system-controlled dispatching mechanism? One reason for using a quantum to interrupt a running process after a "reasonable" period is to allow the operating system to regain the processor and dispatch the next process. Suppose that a system does not have an interrupting clock and the only way a process can lose the processor is to relinquish it voluntarily. Suppose also that no dispatching mechanism is provided in the operating system. a Describe how a group of user processes could cooperate among themselves to effect a user-controlled dispatching mechanism. b What potential dangers are inherent in this scheme? c What are the advantages to the users over a system-controlled dispatching mechanism
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
