Record Locking - Use of Locks

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:

    He’s made a harp of her breast-bane,
    Whose sound wad melt a heart of stane.

    He’s ta’en three locks o’ her yellow hair,
    And wi’ them strung his harp sae rare.
    Unknown. Binnorie; or, The Two Sisters (l. 41–44)