Source: golang-github-nightlyone-lockfile Standards-Version: 4.7.2 Maintainer: Debian Go Packaging Team Uploaders: Martín Ferrari , 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.