Lock Manager
A lock manager services the operations
- Lock(trans-id, data-item-id, mode)
- Unlock(trans-id, data-item-id)
- Unlock(trans-id)
It stores locks in a lock table. Lock op inserts [trans-id, mode] in the table. Unlock deletes it.
Data Item List of Locks Wait List