system consists of a finite number of resources to be distributed among a number of competing
processes
processes
Anonymous Quiz
84%
T
16%
F
a resource can be released only voluntarily by the process holding it, after that process has completed its task
Anonymous Quiz
8%
Mutual exclusion
20%
Hold and wait
65%
No preemption
6%
Circular wait
a process holding at least one resource is waiting to acquire additional resources held by other processes
Anonymous Quiz
6%
Circular wait
3%
No preemption
87%
Hold and wait
4%
Mutual exclusion
only one process at a time can use a resource
Anonymous Quiz
5%
Hold and wait
7%
Circular wait
84%
Mutual exclusion
4%
No preemption
Ensure that the system will never enter a deadlock state
Anonymous Quiz
14%
Deadlock prevention
10%
Deadlock avoidance
5%
Deadlock detection and recovery
3%
Ignore the problem and pretend that deadlocks never occur in the system
68%
a and b
Deadlock detection and recovery is Allow the system to enter a deadlock state and then recover
Anonymous Quiz
87%
T
13%
F
Requires that the system has some additional a priori information available
Anonymous Quiz
15%
Deadlock prevention
66%
Deadlock avoidance
20%
Deadlock detection and recovery
Multiple instances of a resource type
Anonymous Quiz
24%
resource allocation graph
76%
banker’s algorithm
in banker’s algorithm n represents
Anonymous Quiz
60%
number of processes
22%
number of resources types
18%
number of instances
in banker’s algorithm m represents
Anonymous Quiz
67%
number of resources types
23%
number of instances
10%
number of processes
is responsible for moving the data between the peripheral devices that it controls and its local buffer storage
Anonymous Quiz
80%
device controller
18%
system bus
3%
processor