A deadlock occurs when two or more transactions wait indefinitely for resources locked by one another.
Example:
Transaction T1 locks resource A and waits for B.
Transaction T2 locks resource B and waits for A.
Neither can proceed.
Loading…
A deadlock occurs when two or more transactions wait indefinitely for resources locked by one another.
Example:
Transaction T1 locks resource A and waits for B.
Transaction T2 locks resource B and waits for A.
Neither can proceed.