Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)
Lockfile implemented as a Unix PID file.

The PID file is named by the attribute `path`. When locked,
the file will be created with a single line of text,
containing the process ID (PID) of the process that acquired
the lock.

The lock is acquired and maintained as per `LinkFileLock`.

src/m/p/mpd-myfm-HEAD/daemon/runner.py   mpd-myfm(Download)
            error = ValueError("Not an absolute path: %(path)r" % vars())
            raise error
        lockfile = pidlockfile.PIDLockFile(path)
    return lockfile

src/p/i/picdaemon-1.2.0-0/picdaemon/daemoncontext.py   picdaemon(Download)
import atexit
from pidlockfile import PIDLockFile