in Operating System edited by
293 views
0 votes
0 votes

https://gateoverflow.in/?qa=blob&qa_blobid=16406706223773445572

someone plz help how to detect deadlock in this type of question??

in Operating System edited by
by
293 views

1 Answer

0 votes
0 votes

Answer is false. (resource acquired by a process is given by arrow head to that process.)

(resource required by process is given by arrow head towards that resource)

Try to build this chart like banker's algorithm and solve same like that.

In single instance resources if cycle is present then surely deadlock.

In multiinstance resources if cycle is present or not we need to check using banker's algo.

Related questions