Strategies for dealing with deadlocks - UNIT F
Headlines News :
English French German Spain Italian Dutch Russian Portuguese Japanese Korean Arabic Chinese Simplified
Hosting Indonesia
Toko Buku Online Terlengkap
Home » » Strategies for dealing with deadlocks

Strategies for dealing with deadlocks

Written By Unknown on Sabtu, 16 Juli 2011 | 11.39

Strategies for dealing with deadlocks can be divided into threeapproaches, namely:


1. Ignoring the existence of deadlock.

2. Ensure that deadlock will never exist, either by the method ofprevention, by preventing the four conditions of deadlock that will never happen. Avoiding deadlocks method, allowing fourdeadlock conditions, but stop any process that may reach a deadlock.

3. Allowing deadlocks to occur, this approach requires twomethods support each other, namely:

                1. Deadlock detection, to identify when a deadlockoccurs.

                2. Deadlock recovery, restoring the resources needed toprocess the request.


From the explanation of the above approaches, there are fourmethods to overcome the deadlock that will occur, namely:

Ostrich strategy

The simplest approach is to use the ostrich strategy: put your head in the sand and as if there never was a problem at all. A variety of opinion arising in connection with this strategy.According to the mathematician, the way is totally unacceptableand all deadlock situation should be handled. While experts saytechnique, if the computer more often suffered damage caused by a hardware failure, error on the compiler or bugs in the operating system. Then the cost paid for deadlock handling isbigger and better to ignore such a deadlock situation. This method is applicable to UNIX and MINIX operating system.
Share this article :

0 komentar:

Posting Komentar

TEMPAT JUAL BELI TEMPLATE/ SALE YOUR TEMPLATE

melayang


 
Support : Creating Website | UNIT F | unitf blog
Copyright © 2011. UNIT F - All Rights Reserved
Template Modify by M.R.F
Proudly powered by Blogger