套件:golang-github-burntsushi-locker-dev(0.0~git20171006.a6e239e-3)
golang-github-burntsushi-locker-dev 的相關連結
Debian 的資源:
下載原始碼套件 golang-github-burntsushi-locker:
- [golang-github-burntsushi-locker_0.0~git20171006.a6e239e-3.dsc]
- [golang-github-burntsushi-locker_0.0~git20171006.a6e239e.orig.tar.xz]
- [golang-github-burntsushi-locker_0.0~git20171006.a6e239e-3.debian.tar.xz]
維護小組:
外部的資源:
- 主頁 [github.com]
相似套件:
simple Go package for conveniently using named read/write locks
Package locker is a simple Go package to manage named ReadWrite mutexes. These appear to be especially useful for synchronizing access to session based information in web applications.
The common use case is to use the package level functions, which use a package level set of locks (safe to use from multiple goroutines simultaneously). However, you may also create a new separate set of locks.
All locks are implemented with read-write mutexes. To use them like a regular mutex, simply ignore the RLock/RUnlock functions.