Searched refs:lock_filename (Results 1 – 3 of 3) sorted by relevance
138 lock_filename = self._posix_lockfile(self._filename)142 self._lock_fd = os.open(lock_filename,152 lock_filename, timeout)163 lock_filename = self._posix_lockfile(self._filename)165 os.unlink(lock_filename)
101 def __init__(self, lock_filename): argument102 self._filepath = lock_filename103 lock_dir = os.path.dirname(lock_filename)150 for lock_filename in glob.glob(full_pattern):151 if LOCK_SUFFIX in lock_filename:153 file_lock = FileLock(lock_filename)
149 static char lock_filename[1024]; /* Lock filename */ variable278 acquire_lock(&lock_fd, lock_filename, sizeof(lock_filename))) in main()588 unlink(lock_filename); in release_lock()