Home
last modified time | relevance | path

Searched refs:restart_check (Results 1 – 1 of 1) sorted by relevance

/php-src/ext/opcache/
H A DZendAccelerator.c308 struct flock restart_check; in accel_restart_is_active() local
310 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