Originally posted by Siddharth Mehrotra:
Locking and unlocking code
i have lockManager for maintaining the locked records.
the records are stored in two hashtables.
viz hash1 and hash2
hash1 containing recno and clinetid
and hash2 containing timeoflock and recno.
where someTime is some specefied time for cleaning up stale locks. like i feel it should be 1 min
[ April 04, 2002: Message edited by: Siddharth Mehrotra ]
Originally posted by Andrew Collins:
How do you notify the client who owns the stale lock that his time has expired and that he should try to lock again ?