Searched refs:restart_check (Results 1 – 1 of 1) sorted by relevance
308 struct flock restart_check; in accel_restart_is_active() local310 restart_check.l_type = F_WRLCK; in accel_restart_is_active()311 restart_check.l_whence = SEEK_SET; in accel_restart_is_active()312 restart_check.l_start = 2; in accel_restart_is_active()313 restart_check.l_len = 1; in accel_restart_is_active()315 if (fcntl(lock_file, F_GETLK, &restart_check) == -1) { in accel_restart_is_active()319 if (restart_check.l_type == F_UNLCK) { in accel_restart_is_active()
Completed in 14 milliseconds