Write Lock
Noun · Development
Definitions
An exclusive lock acquired on a resource — such as a database row, file, or memory region — that prevents any other thread or process from reading or writing to it until the lock is released, ensuring data consistency during mutation.
In plain English: A reservation that gives one process sole access to change a piece of data, making everyone else wait their turn.
Example: "The transaction is holding a write lock on that row, so your SELECT is blocking until it commits."