Searched refs:restart_check (Results 1 – 1 of 1) sorted by relevance
271 struct flock restart_check; in accel_restart_is_active() local273 restart_check.l_type = F_WRLCK; in accel_restart_is_active()274 restart_check.l_whence = SEEK_SET; in accel_restart_is_active()275 restart_check.l_start = 2; in accel_restart_is_active()276 restart_check.l_len = 1; in accel_restart_is_active()278 if (fcntl(lock_file, F_GETLK, &restart_check) == -1) { in accel_restart_is_active()282 if (restart_check.l_type == F_UNLCK) { in accel_restart_is_active()
Completed in 12 milliseconds