套件: golang-github-nightlyone-lockfile-dev (0.0~git20170804.6a197d5-1.1)
golang-github-nightlyone-lockfile-dev 的相關超連結
Trisquel 的資源:
下載原始碼套件 golang-github-nightlyone-lockfile:
- [golang-github-nightlyone-lockfile_0.0~git20170804.6a197d5-1.1.dsc]
- [golang-github-nightlyone-lockfile_0.0~git20170804.6a197d5.orig.tar.gz]
- [golang-github-nightlyone-lockfile_0.0~git20170804.6a197d5-1.1.debian.tar.xz]
維護者:
Original Maintainers:
- Debian Go Packaging Team (郵件存檔)
- Martín Ferrari
外部的資源:
- 主頁 [github.com]
相似套件:
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.