M. Kargahi (School of ECE) What is a Deadlock s Processes use resources in the following sequence: s Request b Use b Release s A number of processes may participate in a deadlock s Example s Three processes on three CD/RW drives: cyclic wait s Two processes requesting printer and DVD drive

M. Kargahi (School of ECE) Deadlock Prevention s At least one of the necessary conditions for deadlock should not be held 1. Mutual exclusion s This condition cannot be denied, unless for sharable resources, e.g., a real-only file

M. Kargahi (School of ECE)

This preview
has intentionally blurred sections.
Sign up to view the full version.