Discussion Presentation. Ms Powerpoint.
THE CONDITIONS NECESSARY FOR A DEADLOCK TO OCCUR
College
CISS 301
Date:
Conditions necessary for a deadlock to occur
Mutual Exclusion
Partial Allocation
Resource waiting or circular wait.
No pre-emption
Option of removing one condition to prevent deadlock
Given the option of removing one condition to prevent deadlock, I would eliminate the No pre-emption condition
This is due to the fact that the available resources will be utilized accordingly
Deadlock handling strategies
Deadlock avoidance
Deadlock prevention
Deadlock detection
Deadlock Recovery
Strategies I would like to implement to remove deadlocks
In the cases of disk sharing, database sharing, and multiple device allocation, I would like to implement to remove the following strategies;
Deadlock prevention
Deadlock detection and recovery
A suitable strategy in each case
For the disk sharing case, I would deadlock detection as my strategy
I will use deadlock prevention for the data sharing case
For the multiple device allocation, I will make use of Deadlock detection and recovery
This is because the strategies will ensure that the issues experienced are addressed in the best way possible
References
Qian, K., Cheng, W., Zhang, T., & Ren, F. (2019). Gentle flow control: avoiding deadlock in lossless networks. In Proceedings of the ACM Special Interest Group on Data Communication (pp. 75-89).
Jain, S., Kumar, N., & Chauhan, K. An Overview on Deadlock Resolution Techniques.
Sun, D., Chen, Y., El-Meligy, M. A., Sharaf, M. A. F., Wu, N., & Li, Z. (2019). On algebraic identification of critical states for deadlock control in automated manufacturing systems modeled with Petri nets. IEEE Access, 7, 121332-121349.