shachi_984a

What are the necessary conditions to Produce a Deadlock?

Do you the process of creating a deadlock?
Add a comment
0%

8 replies

eklavya
"Deadlock the type of symptom in multiprocessing programs, parallel calculating and also distributed devices, in which software system and also computer hardware a lock are widely-used to cope with divided methods as well as implement process synchronization.[3] "
Add a comment
magicphil
"Two interactive operations over a medieval instant gadget with no window process each and every wish to command laptop keyboards (so the end user tin character in these individuals) and also the screen (to enable them to answer). If course of action G holds laptop keyboards while practice Q holds this display, the two can be stuck expecting the opposite resource. "
Add a comment
lathika
"Necessary Conditions for Deadlock : A Deadlock Situation can arise if the following four conditions hold simultaneously in a system : (1) Mutual exclusion : At least one resource must be held in a non-sharable mode; that is, only one process at a time can use the resource. (2) Hold and wait : There must exist a process that is holding at least one resource and is waiting to acquire additional resources that are currently being held by other processes. (3) No preemption : Resources cannot be preempted; that is, a resource can be released only voluntarily by the process holding it, after that process has completed its task. (4) Circular wait : There must exist a set {P0, P1, . . . , Pn} of waiting processes such that P0 is waiting for a resource that is held by P1, P1 is waiting for a resource that is held by P2, . . ., Pn-1 is waiting for a resource that is held by Pn, and Pn is waiting for a resource that is held by P0. Source: http://in.docsity.com/en-docs/Fundamentals_of_Operating_Systems__Lecture_notes__Poonam_Sharma"
Add a comment