Searched refs:lock_file (Results 1 - 3 of 3) sorted by relevance

/PHP_TRUNK/ext/opcache/
H A Dzend_shared_alloc.c57 int lock_file; variable
87 lock_file = mkstemp(lockfile_name);
88 fchmod(lock_file, 0666);
90 if (lock_file == -1) {
93 val = fcntl(lock_file, F_GETFD, 0);
95 fcntl(lock_file, F_SETFD, val);
267 close(lock_file);
382 if (fcntl(lock_file, F_SETLKW, &mem_write_lock) == -1) {
402 if (fcntl(lock_file, F_SETLK, &mem_write_unlock) == -1) {
H A DZendAccelerator.h100 extern int lock_file;
H A DZendAccelerator.c497 if (fcntl(lock_file, F_SETLK, &restart_in_progress) == -1) {
513 if (fcntl(lock_file, F_SETLK, &restart_finished) == -1) {
525 if (fcntl(lock_file, F_GETLK, &restart_check) == -1) {
550 if (fcntl(lock_file, F_SETLK, &mem_usage_lock) == -1) {
567 if (fcntl(lock_file, F_SETLK, &mem_usage_unlock) == -1) {
580 if (fcntl(lock_file, F_SETLK, &mem_usage_unlock_all) == -1) {
617 if (fcntl(lock_file, F_GETLK, mem_usage_check) == -1) {
639 if (fcntl(lock_file, F_GETLK, &mem_usage_check) == -1) {

Completed in 9 milliseconds