How can you create a deadlock using Hold and wait?

Can you please provide the "Hold and wait" method of creating a deadlock?
Add a comment

8 replies

"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. Source:"
Add a comment
"This shared riddance ailment have to store intended for neo-sharable sources. That is certainly, several operations are not able to together discuss just one learning resource. This condition is tough to reduce mainly because some sources, such as the tap into get as well as computer printer, are inherently non-shareable. Observe that shareable resources like understand-only-record usually do not demand contradictory admittance therefore can't be linked to deadlock. "
Add a comment