Penguin

Differences between version 2 and predecessor to the previous major change of DeadLock.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 2 Last edited on Sunday, March 7, 2004 11:21:49 am by AristotlePagaltzis Revert
Older page: version 1 Last edited on Tuesday, March 2, 2004 12:18:56 pm by StuartYeates Revert
@@ -1 +1,5 @@
-A [DeadLock] is a situation in which there are several threads or processes with work to do but none of them can proceed because they are waiting for each other. 
+A [DeadLock] occurs when two (or more) threads or processes have locks on shared resources, distributed in such a way that noone can proceed. This occurs when, f.ex, both process P1 and P2 need access to resources R1 and R2, where P1 has managed to lock R1 while P2 has locked R2. At this point, both processes will wait for each other to release the respective lock indefinitely, hence a DeadLock.  
+  
+The DeadlyEmbrace is a particularly trivial example of a DeadLock.  
+  
+See also DiningPhilosophers