Cyborg :: Interface
Found in Versions:
A locking mechanism is necessary to ensure concurrent access don't tread on each other:
- do not allow write when someone else has requested an exclusive access to the resource
- delay read when someone is writing
A lock is released when the client ask for it, or when it leaves and his session is removed.
We should care about dead clients to avoid deadlocks.