Searched refs:restart_check (Results 1 – 1 of 1) sorted by relevance
280 struct flock restart_check; in accel_restart_is_active() local282 restart_check.l_type = F_WRLCK; in accel_restart_is_active()283 restart_check.l_whence = SEEK_SET; in accel_restart_is_active()284 restart_check.l_start = 2; in accel_restart_is_active()285 restart_check.l_len = 1; in accel_restart_is_active()287 if (fcntl(lock_file, F_GETLK, &restart_check) == -1) { in accel_restart_is_active()291 if (restart_check.l_type == F_UNLCK) { in accel_restart_is_active()
Completed in 13 milliseconds