Saturday, December 10, 2011

Formal definition :
A set of processes is deadlocked if each process in the set is waiting for an event that only another process in the set can cause
•Usually the event is release of a currently held resource
•None of the processes can …
run
release resources

be awakened




Four Conditions for Deadlock


1.Mutual exclusion condition

each resource assigned to 1 process or is available

2.Hold and wait condition

process holding resources can request additional

3.No preemption condition

previously granted resources cannot forcibly taken away

4.Circular wait condition

must be a circular chain of 2 or more processes

each is waiting for resource held by next member of the chain




Deadlock Modeling


•Modeled with directed graphs

resource R assigned to process A

process B is requesting/waiting for resource S

process C and D are in deadlock over resources T and U

Related Posts:

  • How to speed up a computer with Windows XP system          Our computer is slow on windows causes the slow, oh it feels like to slam the PC or laptop, but do not let, I was the goods have been purchased ... hehee I would love a s… Read More
  • We prevent eye damage from computer!          Eye pain is the most common complaints when working too long at the computer. These complaints if left unchecked could develop into the damage that causes blurred vision.… Read More
  • Introduction to DeadlocksFormal definition : A set of processes is deadlocked if each process in the set is waiting for an event that only another process in the set can cause•Usually the event is release of a currently held resource•None of the proc… Read More
  • Virus Ramnit          Create a new you all ramnit virus, you do not panic .. I have a few tips .. By deleting Watermark.exe: 1.  Turn off system restore, temporarily disconnect Internet … Read More
  • Jangan Pernah Menekan Tombol F1 Waktu Browsing !!           Microsoft menemukan sebuah kelemahan pada piranti lunaknya. Demi mencegah celah ini dimanfaatkan, raksasa asal Redmond itu pun menganjurkan penggunanya untuk tidak m… Read More

0 komentar:

Blogroll

twitter facebook email

Selamat Datang