Which of the following occurs when a transaction cannot proceed for an indefinite period of time while other transactions in the system continue normally?
Which of the following occurs when a transaction cannot proceed for an indefinite period of time while other transactions in the system continue normally? Correct Answer Starvation
Concept:
- Wound- wait and wait- die use timestamps to prevent deadlock.
- Deadlock occurs when each transaction t in a set of two or more transaction is waiting for some item that is locked by some other transaction in the set
- Starvation is nothing but one transaction is getting chances again and again and other are waiting for their turn and we cannot say when will they get chance to execute this is
nothing but indefinite period of time waiting.
Hence option 1 is the correct answer.
মোঃ আরিফুল ইসলাম
Feb 20, 2025