1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
Source: golang-github-nightlyone-lockfile
Standards-Version: 4.7.2
Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
Uploaders:
MartÃn Ferrari <tincho@debian.org>,
Section: golang
Testsuite: autopkgtest-pkg-go
Priority: optional
Build-Depends:
debhelper-compat (= 13),
dh-golang,
golang-any,
Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-nightlyone-lockfile
Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-nightlyone-lockfile.git
Homepage: https://github.com/nightlyone/lockfile
XS-Go-Import-Path: github.com/nightlyone/lockfile
Package: golang-github-nightlyone-lockfile-dev
Architecture: all
Multi-Arch: foreign
Depends:
${misc:Depends},
${shlibs:Depends},
Description: Golang library to handle locking via pid files
Package lockfile handles pid file based locking.
.
While a sync.Mutex helps against concurrency issues within a single process,
this package is designed to help against concurrency issues between
cooperating processes or serializing multiple invocations of the same process.
You can also combine sync.Mutex with Lockfile in order to serialize an action
between different goroutines in a single program and also multiple invocations
of this program.
|