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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started