https://github.com/shgopher/chanlocker
使用channel来实现的一个互斥锁。不到20行代码。
https://github.com/shgopher/chanlocker
channel go golang mutex
Last synced: 4 months 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 4 years ago)
- Default Branch: main
- Last Pushed: 2021-01-13T11:13:08.000Z (over 4 years ago)
- Last Synced: 2024-12-31T07:16:33.895Z (6 months ago)
- Topics: channel, go, golang, mutex
- Language: Go
- Homepage:
- Size: 2.93 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0