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:
“Many a kiss, both odd and even;
Many a glance, too, has been sent
From out the eye, loves firmament;
Many a jest told of the keys betraying
This night, and locks picked; yet were not a-Maying!”
—Robert Herrick (15911674)