Autonomous locking method based on shared memory for account background memory database

2006 
Disclosed is an autonomy lock method in sharing memory which allows business applying and releasing locks via operating on the sharing memory; the lock control block (LCB) in the autonomy lock (AL) is data item related, that is, each data item corresponds to one LCB which records current type of the lock and two business forms, one for recording current business holding the lock, the other for recording the business waiting for the lock; the autonomy lock includes adding lock, restoring and atomicity of lock space accident; implementing hash process on the lock name when adding lock, converting into corresponding lock control block LCB; releasing lock includes: deleting corresponding records after finding corresponding LCB.
    • Correction
    • Source
    • Cite
    • Save
    • Machine Reading By IdeaReader
    0
    References
    0
    Citations
    NaN
    KQI
    []