Deadlocks Flashcards

1
Q

Prevent sets of concurrent prcesses from completing their tasksq

A

Deadlock

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

Process utilization in a system model

A

REQUEST > USE > RELEASE

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

Rag

R->P

A

Assignment edge

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

Rag

P->R

A

Request edge

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

If graph contains no cycle ->
If graph contains a cycle and one instance per resource type ->
If multiple instance per resource type ->

A

No deadlock
Deaflock
Possibility if deadlock

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

Ensure that system will neber enter a deadlockq

A

Deadlock handling

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

Allow system to enter deadlock syate tyen recover

A

Deadlock prevention

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

Ignore the probelm and pretend that desflocks never occur in the system

A

Deadlock avoidance

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

Avoidance algorithm of a single instance of a resource type

A

Resource allocation graph

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

Recovery from deadlock where you abort all deadlock processes

A

Process termination

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

Recovery from deadlock by RESOURCE PREEMPTION

3 ways

A

Selecting a victim - minimize cost
Rollback -return to safe state
Starvation - same process is picked a s avictim

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