[ 原始碼: golang-github-moby-locker ]
套件:golang-github-moby-locker-dev(1.0.1-3)
golang-github-moby-locker-dev 的相關連結
Debian 的資源:
下載原始碼套件 golang-github-moby-locker:
- [golang-github-moby-locker_1.0.1-3.dsc]
- [golang-github-moby-locker_1.0.1.orig.tar.gz]
- [golang-github-moby-locker_1.0.1-3.debian.tar.xz]
維護小組:
外部的資源:
- 主頁 [github.com]
相似套件:
- libjira-client-automated-perl
- golang-github-michaeltjones-walk-dev
- libobject-destroyer-perl
- golang-github-nightlyone-lockfile-dev
- python-zc.lockfile
- python3-zc.lockfile
- golang-github-hashicorp-go-cleanhttp-dev
- python3-aioredlock
- libxml-parser-perl
- golang-github-bmatsuo-lmdb-go-dev
- libstruct-dumb-perl
Go library for creating finer-grained locking
Locker provides a mechanism for creating finer-grained locking to help free up more global locks to handle other tasks.
The implementation looks close to a sync.Mutex, however, the user must provide a reference to use to refer to the underlying lock when locking and unlocking, and unlock may generate an error.
If a lock with a given name does not exist when Lock is called, one is created. Lock references are automatically cleaned up on Unlock if nothing else is waiting for the lock.