This website requires JavaScript.
Explore
Help
Sign In
pkg
/
lockx
Watch
2
Star
0
Fork
0
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
19
Commits
1
Branch
0
Tags
master
T
Add File
New File
Upload File
Apply Patch
Code
Clone
HTTPS
Tea CLI
Open with VS Code
Open with VSCodium
Open with Intellij IDEA
Download ZIP
Download TAR.GZ
Download BUNDLE
yun
078eaa4e83
优化一下测试用例
2025-10-04 21:53:24 +08:00
.gitlab-ci.yml
提交
2023-11-26 21:07:23 +08:00
go.mod
Merge remote-tracking branch 'github/master'
2025-10-04 21:49:42 +08:00
go.sum
Merge remote-tracking branch 'github/master'
2025-10-04 21:49:42 +08:00
locks_test.go
Merge remote-tracking branch 'github/master'
2025-10-04 21:49:42 +08:00
locks.go
Merge remote-tracking branch 'github/master'
2025-10-04 21:49:42 +08:00
lockx_test.go
优化一下测试用例
2025-10-04 21:53:24 +08:00
lockx.go
Merge remote-tracking branch 'github/master'
2025-10-04 21:49:42 +08:00
options.go
更新一些option
2025-09-17 19:41:47 +08:00
readme.md
优化锁的使用
2024-12-12 11:30:24 +08:00
readme.md
1.这个锁是基于redis的全局锁
2.在同一个new下边,多次加锁是可以重入的(因为值是一致)
3.多次加锁只要执行了一次释放,这个锁将会被释放
Reference in New Issue
View Git Blame
Copy Permalink
S
Description
No description provided
Readme
84
KiB
Languages
Go
100%