Use of Locks
Record locks need to be managed between the entities requesting the records such that no entity is given too much service via successive grants, and no other entity is effectively locked out. The entities that request a lock can be either individual applications (programs) or an entire processor.
The application or system should be designed such that any lock is held for the shortest time possible. Data reading, without editing facilities, does not require a lock, and reading locked records is usually permissible.
Two main types of locks can be requested:
Read more about this topic: Record Locking
Famous quotes containing the word locks:
“So Lycidas sunk low, but mounted high
Through the dear might of him that walkd the waves,
Where other groves and other streams along
With nectar pure his oozy locks he laves
And hears the unexpressive nuptial song
In the blessd kingdoms meek of joy and love.
There entertain him all the saints above
In solemn troops and sweet societies,
That sing, and singing in their glory move,
And wipe the tears for ever from his eyes.”
—John Milton (16081674)