Ch3 - PowerPoint PPT Presentation

1 / 5
About This Presentation
Title:

Ch3

Description:

Non Preemption. Circular Wait. Handled by prevention, detection, avoidance. Models of Deadlock ... Set of processes, set of resources (can be partitioned into ... – PowerPoint PPT presentation

Number of Views:16
Avg rating:3.0/5.0
Slides: 6
Provided by: anupam8
Category:
Tags: ch3 | preemption

less

Transcript and Presenter's Notes

Title: Ch3


1
Ch3
2
  • Deadlock definition
  • Difference from starvation
  • Conditions for Deadlock
  • Exclusive access
  • Hold Wait
  • Non Preemption
  • Circular Wait
  • Handled by prevention, detection, avoidance

3
Models of Deadlock
  • Single Unit Request
  • And Model
  • Or Model
  • And/Or Model
  • P out of Q model
  • Resource Models
  • Reusable
  • Consumable

4
Graph Theoretic Models
  • Set of processes, set of resources (can be
    partitioned into disjoint set of consumable and
    reusable)
  • Reusable resources have a count, consumable
    resources have a set of producers

5
General Resource Graph
  • Bipartite (why?) directed graph with processes
    and resources as nodes
  • Request edge directed from process to resource
  • Assignment edge from reusable resource to process
  • Producer edge from consumable resource to process
Write a Comment
User Comments (0)
About PowerShow.com