Commit Graph

5 Commits

Author SHA1 Message Date
douxu b27b999873 add redis read and write lock conflict test of rwlocker 2025-04-02 16:47:51 +08:00
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 d962462c42 add rlock lock&unlock test and rlock reentrant test 2025-03-12 16:24:28 +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