Question: An embedded video streaming system has three resources: video capture card (R1), video display card (R2), and network card (R3). In order to implement zero-copy

An embedded video streaming system has three resources: video capture card (R1), video display card (R2), and network card (R3). In order to implement zero-copy streaming, designers implemented two concurrent processes. Process P1 needs to allocate all three resources to be able to simultaneously stream captured video over network and display it on the monitor. Process P2 needs to allocate network and video display card to be able to directly display data received over the network card. a. P1 allocates resources in the following order: R1, R2, R3. P2 allocates resources in the following order: R3, R2. Draw the resource-allocation graph that shows that the deadlock in this system is possible. b. Propose a method which will guarantee that deadlock cannot occur.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!