Deadlock Flashcards

1
Q

Can be taken away from a process without any side effects

A

preemptable resource

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

Cannot be taken away from current process without any side effects

A

nonpremptable resource

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

Each resource is either currently assigned to one process or available

A

mutual exclusion condition

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

Process currently holding resources that were granted earlier can still request new resources

A

hold and wait condition

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

Resources previously granted cannot be forcibly taken away from a process

A

no-premption condition

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

Must be two or more processes which are waiting for a resource held by another process

A

Circular wait condition

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
  • Ignore problem and hope it resolves itself
  • detection and recovery
  • dynamic avoidance by careful resource allocation
  • prevention by not allowing one of the four deadlock conditions to exist
A

Strategies with deadlock

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

Take away a resource from current owner and give to another process

A

Recovery through preemption

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

Checkpoint system state. When deadlock detected, rollback process to checkpoint before it acquired resource

A

Recovery through rollback

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

Kill process to break cycle. Attempt to select process that is safest to kill

A

Recovery through killing

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

Some schedling order in which every process can be ran to completion

A

safe state

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

Do not imply deadlock, but opposite implies lack of deadlock

A

nonsafe states

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

Assure that at least one condition of deadlock is never satisfied

A

deadlock prevention

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

Processes can request resource whenever, but all requests must be made in defind order

A

global ordering of processes to attack circular wait

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