Debian Codegraph @

debian/control

raw
1 Source: golang-github-moby-locker
2 Maintainer: Debian Go Packaging Team <[email protected]>
3 Uploaders: Shengjing Zhu <[email protected]>
4 Section: golang
5 Testsuite: autopkgtest-pkg-go
6 Priority: optional
7 Build-Depends: debhelper-compat (= 13),
8 dh-golang,
9 golang-any
10 Standards-Version: 4.6.1
11 Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-moby-locker
12 Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-moby-locker.git
13 Homepage: https://github.com/moby/locker
14 Rules-Requires-Root: no
15 XS-Go-Import-Path: github.com/moby/locker
16
17 Package: golang-github-moby-locker-dev
18 Architecture: all
19 Depends: ${misc:Depends}
20 Multi-Arch: foreign
21 Description: Go library for creating finer-grained locking
22 Locker provides a mechanism for creating finer-grained locking to help free up
23 more global locks to handle other tasks.
24 .
25 The implementation looks close to a sync.Mutex, however, the user must provide
26 a reference to use to refer to the underlying lock when locking and unlocking,
27 and unlock may generate an error.
28 .
29 If a lock with a given name does not exist when Lock is called, one is
30 created. Lock references are automatically cleaned up on Unlock if nothing
31 else is waiting for the lock.