top of page

DEAD LOCK

  • Writer: dynamic operators
    dynamic operators
  • Oct 24, 2016
  • 1 min read

Deadlocks are a set of blocked processes each holding a resource and waiting to acquire a resource held by another process.

PREVENTION OF DEAD LOCKS:

Deadlocks can be avoided by avoiding at least one of the four conditions, because all this four conditions are required simultaneously to cause deadlock.

  1. Mutual Exclusion

Resources shared such as read-only files do not lead to deadlocks but resources, such as printers and tape drives, requires exclusive access by a single process.

  1. Hold and Wait

In this condition processes must be prevented from holding one or more resources while simultaneously waiting for one or more others.

  1. No Preemption

Preemption of process resource .


 
 
 

Comments


KARUNYA UNIVERSITY,COIMBATORE,TAMILNADU,INDIA.

  • Black Facebook Icon
  • Black Twitter Icon
  • Black Pinterest Icon
  • Black Flickr Icon
  • Black Instagram Icon

Join our mailing list

bottom of page