Commit Graph

3 Commits

Author SHA1 Message Date
douxu 7b282c49f7 fix(lock script): fix bug of lock srcipt
1.fix bug of reset time wrong with ReentrantRLock in RLock script
2.fix bug of write lock failing to lock for the first time
3.fix bug of unlock failed with ReentrantWLock in UnWLock script

test(lock script): add new test of RLock and WLock

1.add refresh test of RLock
2.add new test of ReentrantWLock#
2025-03-13 16:51:50 +08:00
douxu d404dc4335 fix bug of lock script and refresh script in redission rw lock 2025-03-11 15:35:15 +08:00
douxu 7e3d94db4b optimize structer of redisLock and acquisition statements of lock 2025-03-07 16:16:26 +08:00