Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
opt
/
alt
/
python35
/
lib
/
python3.5
/
site-packages
/
lockfile
/
__pycache__
/
File Content:
pidlockfile.cpython-35.opt-1.pyc
��UV� � @ s� d Z d d l m Z d d l Z d d l Z d d l Z d d l m Z m Z m Z m Z m Z m Z Gd d � d e � Z d d � Z d d � Z d d � Z d S)z8 Lockfile behaviour implemented via Unix PID files. � )�absolute_importN� )�LockBase� AlreadyLocked� LockFailed� NotLocked� NotMyLock�LockTimeoutc @ ss e Z d Z d Z d d d d � Z d d � Z d d � Z d d � Z d d d � Z d d � Z d d � Z d S)�PIDLockFileaA Lockfile implemented as a Unix PID file. The lock file is a normal file named by the attribute `path`. A lock's PID file contains a single line of text, containing the process ID (PID) of the process that acquired the lock. >>> lock = PIDLockFile('somefile') >>> lock = PIDLockFile('somefile') FNc C s&