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

/PHP_TRUNK/ext/opcache/
H A Dzend_shared_alloc.c58 int lock_file; variable
88 lock_file = mkstemp(lockfile_name);
89 fchmod(lock_file, 0666);
91 if (lock_file == -1) {
94 val = fcntl(lock_file, F_GETFD, 0);
96 fcntl(lock_file, F_SETFD, val);
268 close(lock_file);
383 if (fcntl(lock_file, F_SETLKW, &mem_write_lock) == -1) {
414 if (fcntl(lock_file, F_SETLK, &mem_write_unlock) == -1) {
H A DZendAccelerator.c484 if (fcntl(lock_file, F_SETLK, &restart_in_progress) == -1) {
500 if (fcntl(lock_file, F_SETLK, &restart_finished) == -1) {
512 if (fcntl(lock_file, F_GETLK, &restart_check) == -1) {
537 if (fcntl(lock_file, F_SETLK, &mem_usage_lock) == -1) {
554 if (fcntl(lock_file, F_SETLK, &mem_usage_unlock) == -1) {
567 if (fcntl(lock_file, F_SETLK, &mem_usage_unlock_all) == -1) {
604 if (fcntl(lock_file, F_GETLK, mem_usage_check) == -1) {
626 if (fcntl(lock_file, F_GETLK, &mem_usage_check) == -1) {
H A DZendAccelerator.h100 extern int lock_file;

Completed in 8 milliseconds