Progress ofo Release Pand Q: want Release Required B Get A Deadlock inevitale Required Get B Progress of P Get A Get B Release A Release B A - Both Pand Qwant esource A N - Both Pand Qwant esorce B Required B Required - Deadkeck inevitable region -Posible progress path of Pand Q Horizcetal portion of puth indicates Pis erecuting and Qis waiting. Vertical portion of pah indicates Q is executing and Pis waiting. 1.Do Execution Peths 3 and 4 encompess the first three conditions for a deediock to occur? Explein your answer 1. f you are to implement deadiock prevention before the processes above resch the critical section, would it be an indirect method or an indirec method? Why? 2. Which deadlock avoidence approech would you suggest for the given situetion above and why? 3. Would you agree thet deadiock is reletive to the number of processes and aveileble resources in an opereting system? Why or why not? 4. Ifyou are esked to reconstruct the progress diegrem ebove to eliminete the critical section, which is the deadiock-ineviteble region, which aspectis) or arees) would you modity? Explain how the modification eliminates the deediock. 留 口

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
Progress
of Q
Release
A
and Q
Release
Required
B
Get A
B
Required
Deadlock
inevitable
Get B
Progress
of P
Get A
Get B
Release A Release B
2 - Both Pand Qwant esorce A
S - Both Pand Q want resource B
Required
B Required
- Deadlock-inevitable repion
- Possible progress path of Pand Q
Horizontal porticn of path indicates Pis esecuting and Q is waiting.
Vertical portion of pah indicates Qis execuring and Pis waiting.
1.Do Execution Peths 3 and 4 encompass the first three conditions for a deadiock to occur? Explein your answer
If you are to implement deadiock prevention before the processes above reach the critical section,
would it be an indirect method or an indirect method? Why?
2. Which deadlock evoidence approech would you suggest for the given situation above and why?
3. Would you agree thet desdiock is relative to the number of processes and eveileble resources in an
opereting system? Why or why not?
4. ifyou are asked to reconstruct the progress diegram above to eliminete the critical section, which is the
deadiock-inevitable region, which aspectis) or aress) would you modity? Explain how the modification
eliminetes the deadiock.
1.
口
Transcribed Image Text:Progress of Q Release A and Q Release Required B Get A B Required Deadlock inevitable Get B Progress of P Get A Get B Release A Release B 2 - Both Pand Qwant esorce A S - Both Pand Q want resource B Required B Required - Deadlock-inevitable repion - Possible progress path of Pand Q Horizontal porticn of path indicates Pis esecuting and Q is waiting. Vertical portion of pah indicates Qis execuring and Pis waiting. 1.Do Execution Peths 3 and 4 encompass the first three conditions for a deadiock to occur? Explein your answer If you are to implement deadiock prevention before the processes above reach the critical section, would it be an indirect method or an indirect method? Why? 2. Which deadlock evoidence approech would you suggest for the given situation above and why? 3. Would you agree thet desdiock is relative to the number of processes and eveileble resources in an opereting system? Why or why not? 4. ifyou are asked to reconstruct the progress diegram above to eliminete the critical section, which is the deadiock-inevitable region, which aspectis) or aress) would you modity? Explain how the modification eliminetes the deadiock. 1. 口
Expert Solution
steps

Step by step

Solved in 4 steps with 1 images

Blurred answer
Knowledge Booster
Files and Directory
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education