https://github.com/shgopher/chanlocker
使用channel来实现的一个互斥锁。不到20行代码。
https://github.com/shgopher/chanlocker
channel go golang mutex
Last synced: 13 days ago
JSON representation
使用channel来实现的一个互斥锁。不到20行代码。
- Host: GitHub
- URL: https://github.com/shgopher/chanlocker
- Owner: shgopher
- License: mit
- Created: 2021-01-13T11:03:27.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-01-13T11:13:08.000Z (over 5 years ago)
- Last Synced: 2025-08-19T20:49:05.075Z (11 months ago)
- Topics: channel, go, golang, mutex
- Language: Go
- Homepage:
- Size: 2.93 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# chanLocker
使用channel来实现的一个互斥锁。不到20行代码。