Implementation Resource Request Alghoritm In Simulation of Deadlock Avoidance
Deadlock is a condition in the operating system, where processes wait for an event that will never occurs. If a deadlock occurs in a system, the system will hang and cannot be operated. The solution to this problem is to avoid deadlock by closing the possibility that might cause deadlock. This resea...
Gespeichert in:
Veröffentlicht in: | Journal of physics. Conference series 2019-07, Vol.1230 (1), p.12096 |
---|---|
Hauptverfasser: | , , , , , , |
Format: | Artikel |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | Deadlock is a condition in the operating system, where processes wait for an event that will never occurs. If a deadlock occurs in a system, the system will hang and cannot be operated. The solution to this problem is to avoid deadlock by closing the possibility that might cause deadlock. This research uses Resource Request algorithm to avoid deadlock. The algorithm will try to lend resources to the process and analyse whether the state after lending resources is safe state or unsafe state. If the state is a safe state, then the loan is given, otherwise if not the loan will be pending until the loan does not cause unsafe state. Application can simulate the requesting of resources by processes and prevent deadlock in the simulation using Resource Request algorithm, which is to ensure that every situation after lending resource is in a safe state. Deadlock will not occur in safe state. |
---|---|
ISSN: | 1742-6588 1742-6596 |
DOI: | 10.1088/1742-6596/1230/1/012096 |