Searched refs:restart_check (Results 1 – 1 of 1) sorted by relevance
289 struct flock restart_check; in accel_restart_is_active() local291 restart_check.l_type = F_WRLCK; in accel_restart_is_active()292 restart_check.l_whence = SEEK_SET; in accel_restart_is_active()293 restart_check.l_start = 2; in accel_restart_is_active()294 restart_check.l_len = 1; in accel_restart_is_active()296 if (fcntl(lock_file, F_GETLK, &restart_check) == -1) { in accel_restart_is_active()300 if (restart_check.l_type == F_UNLCK) { in accel_restart_is_active()
Completed in 16 milliseconds