Computer Science, asked by shubhamgupta9447, 10 months ago

Explain deadlock handling in DDBMS.

Answers

Answered by honey123492
0

Hope this answer help you

Attachments:
Answered by rishu4653
0

Hey mate!!!!!!

Here is your answer _______________________________

A deadlock is a condition where in two or more tasks are waiting for each other in order to be finished but none of the task is willing to give up the resources that other task needs. In this situation no task ever gets finished and is in waiting state forever.

Coffman conditions:

Coffman stated four conditions for a deadlock occurrence. A deadlock may occur if all the following conditions holds true.

● Mutual exclusion condition: There must be at least one resource that cannot be used by more than one process at a time.

● Hold and wait condition: A process that is holding a resource can request for additional resources that are being held by other processes in the system.

● No preemption condition: A resource cannot be forcibly taken from a process. Only the process can release a resource that is being held by it.

●Circular wait condition: A condition where one process is waiting for a resource that is being held by second process and second process is waiting for third process ….so on and the last process is waiting for the first process. Thus making a circular chain of waiting.

Hope you like it.........

Plz mark it as brainiest....~

Similar questions