2080 3

CSC264 ยท 2080 ยท 10 marks

Can deadlock occur in case of preemptive resources? List the conditions for deadlock. Define allocation graph with example.

Can deadlock occur in case of preemptive resources? List the conditions for deadlock. Define allocation graph with example.[10]

Operating SystemsChapter 3: Process DeadlocksConditions for Deadlock

--- No, deadlock cannot occur in the case of preemptive resources. One of the four necessary conditions for deadlock is No Preemption, which states: "A process acquiring a resource cannot be preempted in between to release the acquired resource. Instead, the process itself must voluntarily releas...