DocumentCode
2018128
Title
An Algorithm for Avoiding Deadlock
Author
Ali, Md N Y ; Sarker, M.Z.H.
Author_Institution
Dept. of CSE, East West Univ., Dhaka
fYear
2005
fDate
24-25 Dec. 2005
Firstpage
1
Lastpage
6
Abstract
Deadlock is as condition that arises when multiple processes are waiting for resources held by other processes. A process cannot release the resources it holds until it can acquire the resources it is waiting for, but it cannot acquire these resources until another process releases them. There are few strategies to deal with the deadlock i.e. detection and recovery, deadlock prevention and deadlock avoidance etc. Deadlock can be avoided if certain information about processes is available in advance of resource allocation. For every resource request, the system sees if granting the request would mean that the system would enter an unsafe state, meaning a state that could result in deadlock. The system then only grants request that would lead to safe states. In this paper a method has been proposed to avoid the deadlock in multiprocessor system. A multiprocessor system with two processors has been used here. Two resources i.e. flash drive and printer have been used here. This paper explains how these processes request and release these resources and overcome unsafe state to enter the safe state. Finally, the deadlock avoidance algorithm for multiprocessors system is presented
Keywords
concurrency control; multiprocessing systems; resource allocation; system recovery; deadlock avoidance algorithm; multiprocessor system; resource allocation; Concurrent computing; Electronic mail; Multiprocessing systems; Operating systems; Parallel processing; Printers; Programming profession; Resource management; System recovery; Yarn;
fLanguage
English
Publisher
ieee
Conference_Titel
9th International Multitopic Conference, IEEE INMIC 2005
Conference_Location
Karachi
Print_ISBN
0-7803-9429-1
Electronic_ISBN
0-7803-9430-5
Type
conf
DOI
10.1109/INMIC.2005.334477
Filename
4133492
Link To Document