Deadlocks Flashcards

1
Q

Mutual Exclusion

A

Resources can only be used by one process at a time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Hold and Wait

A

A process is holding a resource and waiting to acquire another resource held by another process.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

No Preemption

A

Processes must complete their task before releasing their resources.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Circular Wait

A

Set of waiting processes such that Pn-1 is waiting for resource from Pn and Pn is waiting for p0..

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

These 4 conditions must hold simultaneously for a deadlock to occur:

A

Mutual Exclusion
Hold and Wait
No Preemption
Circular Wait

How well did you know this?
1
Not at all
2
3
4
5
Perfectly