2,245 views

2 Answers

Best answer
15 votes
15 votes

If we have m resource's of same type and they are shared by 3 process's then

A needs 3 resource's of same type .

B needs 4 resource's of same type .

C needs 6 resource's of same type .

first of all we find out after how many resource's if we give them the system still be in Deadlock.

So

A needs 3 resource's of same type .If we only give 2 resource to A then it will still be in deadlock

B needs 4 resource's of same type .If we only give 3 resource to B then it will still be in deadlock

C needs 6 resource's of same type .If we only give 5 resource to C then it will still be in deadlock

we have given total of 10 resources still the system is in deadlock .To break this deadlock we give them one more.

So Answer :A (11 resources of same type).

selected by
2 votes
2 votes

Option A will be right option.

A =2 Unit

B=3 Unit

C=5 unit

Condition for deadlock=10 so condition for not happenning deadlock in system=11

Answer:

Related questions

8 votes
8 votes
3 answers
1
go_editor asked Jun 10, 2016
4,692 views
Feedback queuesare very simple to implementdispatch tasks according to execution characteristicsare used to favour real time tasksrequire manual intervention to implement...
7 votes
7 votes
2 answers
2
go_editor asked Jun 10, 2016
4,014 views
Which of the following RAID level provides the highest Data Transfer Rate (Read/Write)RAID 1RAID 3RAID 4RAID 5
8 votes
8 votes
2 answers
3
go_editor asked Jun 10, 2016
7,786 views
On a system using non-preemptive scheduling, processes with expected run times of 5, 18, 9 and 12 are in the ready queue. In what order should they be run to minimize wai...
12 votes
12 votes
1 answer
4
go_editor asked Jun 10, 2016
6,734 views
Semaphoressynchronize critical resources to prevent deadlocksynchronize critical resources to prevent contentionare used to do I/Oare used for memory management