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);
269 close(lock_file);
385 if (fcntl(lock_file, F_SETLKW, &mem_write_lock) == -1) {
416 if (fcntl(lock_file, F_SETLK, &mem_write_unlock) == -1) {
H A DZendAccelerator.c487 if (fcntl(lock_file, F_SETLK, &restart_in_progress) == -1) {
503 if (fcntl(lock_file, F_SETLK, &restart_finished) == -1) {
515 if (fcntl(lock_file, F_GETLK, &restart_check) == -1) {
540 if (fcntl(lock_file, F_SETLK, &mem_usage_lock) == -1) {
557 if (fcntl(lock_file, F_SETLK, &mem_usage_unlock) == -1) {
570 if (fcntl(lock_file, F_SETLK, &mem_usage_unlock_all) == -1) {
607 if (fcntl(lock_file, F_GETLK, mem_usage_check) == -1) {
629 if (fcntl(lock_file, F_GETLK, &mem_usage_check) == -1) {
H A DZendAccelerator.h100 extern int lock_file;

Completed in 10 milliseconds