Searched refs:lock_path (Results 1 – 3 of 3) sorted by relevance
33 static char *lock_path; variable54 if (!lock_path) in child_handler()59 fd = lws_open(lock_path, O_TRUNC | O_RDWR | O_CREAT, 0640); in child_handler()63 lock_path, errno, strerror(errno)); in child_handler()71 lock_path, errno, strerror(errno)); in child_handler()87 if (lock_path) { in lws_daemon_closing()88 unlink(lock_path); in lws_daemon_closing()89 lws_free_set_NULL(lock_path); in lws_daemon_closing()135 unlink(lock_path); in lws_daemonize()140 lock_path = lws_malloc((unsigned int)n, "daemonize lock"); in lws_daemonize()[all …]
108 lock_path="/tmp/offset"111 mkdir "${lock_path}.${OFFSET}.lock.d" > /dev/null 2>&1123 rm -rf "${lock_path}.${OFFSET}.lock.d"
217 lock_path = os.path.join(self._cache_dir, os.path.dirname(key_path),219 return locking.FileLock(lock_path)