Skip to content
Sections
>> Trisquel >> Balíky >> etiona >> devel >> golang-github-nightlyone-lockfile-dev
etiona  ] [  nabia  ] [  aramo  ]

Balík: 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.

Stiahnuť golang-github-nightlyone-lockfile-dev

Stiahnuť pre všetky dostupné architektúry
Architektúra Veľkosť balíka Nainštalovaná veľkosť Súbory
all 6.1 kB28 kB [zoznam súborov]