Skip to content
Sections
>> Trisquel >> 套件 >> nabia >> devel >> golang-github-nightlyone-lockfile-dev
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: golang-github-nightlyone-lockfile  ]

套件: golang-github-nightlyone-lockfile-dev (0.0~git20170804.6a197d5-1)

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.

下載 golang-github-nightlyone-lockfile-dev

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