Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is deadlock? How do you avoid it?

Answer Posted / manzoor elahi laskar

A deadlock is a situation in which two computer programs
sharing the same resource are effectively preventing each
other from accessing the resource, resulting in both
programs ceasing to function.
In order for deadlock order to avoid deadlock following
cases must be avoided.

• Mutual exclusion -a resource that cannot be used by
more than one process at a time. (Two processes cannot
simultaneously control the same resource or be in their
critical section).
• Hold and Wait - processes already holding resources
may request new resources
• No preemption - Once a process holds a resource, it
cannot be taken away by another process or the kernel.
• Circular wait - Each process is waiting to obtain a
resource which is held by another process.

Is This Answer Correct ?    50 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does root mean in computer terms?

954


Is deepin os stable?

955


What is the next microsoft operating system?

930


Can I restore my computer to yesterday?

915


wha is very first process created by kernel

987


Where do I find disk cleanup?

901


What are different errors encountered while compiling?

1159


Can I factory reset my laptop without a recovery disc?

883


Dear All, When the patches are installed in the server OS, how will we know that which patch is the latest patch?

2143


How do I clean up my computer to make it run faster?

934


Can you just explain about memory management in iOS?

984


any body tell me what are the prob's mostly we face and send some critical prob in real time environment in Solaris and veritas (VXVM,VCS)

2307


what kind of operating(s)systems would be needed (and explain why) in an environment where there exist various cluster of networks which are all interconnected in different geographical areas with strong emphasis on online applicating process.

2096


What is operating system and its examples?

944


How do I compare files in notepad ++?

927