Deadlock is situation in which two process waiting for resources that is using by other process but any process not release it's resources
A dead lock is a situation where an application looks up because two or more activities are waiting for each other to finish. This occur in multhithreading software where a shared resource is loked by one thread and another thread is waiting to access it and something occurs so that the thread holding the locked item is waiting fo the other thread to excute.
A deadlock is a situation in which two computer programs sharing the same resource are effectively preventing each other from accessing the resource, resulting
A deadlock is a situation wherein two transactions wait for each other to give up their respective locks.
Deadlock: A condition where two or more threads are waiting for an event that can only be generated by these same threads.
DeadLock EgProgram P1 has holds resource R1 and requires resource R2 to finish the process. Program P2 has holds resource R2 and requires resource R1 to finish the process.
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. The earliest computer operating systems ran only one program at a time. All of the resources of the system were available to this one program. Later, operating systems ran multiple programs at once, interleaving them. Programs were required to specify in advance what resources they needed so thatthey could avoid conflicts with other programs running at the same time. Eventually some operating systems offered dynamic allocation of resources. Programs could request further allocations of resources after they had begun running. This led to the problem of the deadlock.
Two processes waiting to update the rows of a table which are locked by the other process then deadlock arises. In a database environment this will often happen because of not issuing proper row lock commands. Poor design of front-end application may cause this situation and the performance of server will reduce drastically. These locks will be released automatically when a commit/rollback operation performed or any one of this processes being killed externally.
Deadlock occurs when two or more processes are waiting for on the same resource and waiting to complete on the other process to complete before moving forward.