What is deadlock situation(OS-1)

Deadlock

-In the multi programming environmental several process may compete for finite no of resources.
-A process request resources if the resources is hot available at that time a process enter to the wait state and waiting process may never changes its state bcz resources requested are held by other waiting process.   
                           This situation to called deadlock  

if process are p1 and p2 or resources are r1 and r2 .process p1 request to resources r1 and the resources r1 is held by the process p2, process p2  request r1 is held by the process. p2 process request r2 but the resources r2 is held by the process p1. In this situation two process can,t start their operation. 
                so process are enters in waiting state , this situation to called deadlock situation.
                                 

Comments

Popular posts from this blog

What is queries in SQL[DBMS-6]

What is demand paging(OS-9)

Draw process state diagram and explain each state(OS-3)