Question: QUESTION SIX 2. Explain what deadlock avoidance is and apply it to the following example. There are five processes A to and four types of
QUESTION SIX 2. Explain what deadlock avoidance is and apply it to the following example. There are five processes A to and four types of resources Resources are assigned as follows: A:(3.0.1,0). B:(0.1.0.0). C:(1.1.1.0) D: (1.1.0.1) E (2.1.1.0). The availability vector is (1.0.2.1). Determine whether the request by A for one item of the fourth resource type be granted. 18 marles b. Explain what interrupt are and briefly describe how the operating system handles them la marker c. Imagine an operating system without context switching". Briefly explain the effect/benefits this tend to offer. I marks) d. Write briefly on any two of the following concerning thread: 1. Semantic of fork() system call il. Signal handling it. Thread cancellation 14 marks e. Write the Linux command to carry out the following operation t. Deleting files and directories li. Creating a new file
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
