Locking: compatibility is only the beginning
A transaction needs rules for:
- Which concurrent access is compatible.
- How long it retains locks.
- Which waiting request goes next.
- What happens when dependencies form a cycle.
The exercise implements grants and detection, not a full transaction manager.
1 / 9