4.05 - Safe State vs Unsafe State
This video explains What is safe state and unsafe state. Learn safe state and unsafe state with animation and examples. A state is safe if the system can allocate all resources requested by all processes ( up to their stated maximums ) without entering a deadlock state. More formally, a state is safe if there exists a safe sequence of processes { P0, P1, P2, ..., PN } such that all of the resource requests for Pi can be granted using the resources currently allocated to Pi and all processes Pj where j is less than i. ( I.e. if all the processes prior to Pi finish and free up their resources, then Pi will be able to finish also, using the resources that they have freed up. ) If a safe sequence does not exist, then the system is in an unsafe state, which MAY lead to deadlock. ( All safe states are deadlock free, but not all unsafe states lead to deadlocks.) Operating System PPTs with animation is available here: http://www.darshan.ac.in/DIET/CE/GTU-Computer-Engineering-Study-Material This video is recorded by Prof. Firoz Sherasiya ([email protected], +91-9879879861) at Computer Engineering Department of Darshan Institute of Engineering & Technology, Rajkot as per GTU Syllabus. GTU - Computer Engineering (CE) - Semester 4 - 2140702 – Operating System- Deadlocks- Safe state vs Unsafe state Darshan Institute of Engineering & Technology, Rajkot is a leading institute offering undergraduate, graduate and postgraduate programs in engineering. The Institute is affiliated to the Gujarat Technological University (GTU) and approved by the AICTE, New Delhi. Visit us: http://www.darshan.ac.in Write us: [email protected] Facebook: https://www.facebook.com/DarshanInstitute.Official Twitter: https://www.twitter.com/darshan_inst Instagram: https://www.instagram.com/darshan_inst/
Download
0 formatsNo download links available.