Skip to content
Sections
>> Trisquel >> 套件 >> aramo >> golang >> golang-github-moby-locker-dev
aramo  ]
[ 原始碼: golang-github-moby-locker  ]

套件: golang-github-moby-locker-dev (1.0.1-2)

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.

下載 golang-github-moby-locker-dev

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 4.1 kB21 kB [文件列表]