增加锁计数

This commit is contained in:
2021-04-01 16:58:34 +08:00
parent 7553846941
commit 5312092ad6
4 changed files with 77 additions and 1 deletions

View File

@ -21,4 +21,6 @@ type EasyLock interface {
RLock(optionFuncList ...OptionFunc) error
// RUnlock ...
RUnlock(optionFuncList ...OptionFunc) error
// GetLockCnt 获取锁总数
GetLockCnt() *LockCnt
}