Searched refs:send_config_pipe (Results 1 – 4 of 4) sorted by relevance
/PHP-7.0/sapi/fpm/fpm/ |
H A D | fpm_unix.c | 489 if (pipe(fpm_globals.send_config_pipe) == -1) { in fpm_unix_init_main() 503 close(fpm_globals.send_config_pipe[0]); /* close the read side of the pipe */ in fpm_unix_init_main() 507 close(fpm_globals.send_config_pipe[1]); /* close the write side of the pipe */ in fpm_unix_init_main() 515 FD_SET(fpm_globals.send_config_pipe[0], &rfds); in fpm_unix_init_main() 520 …ing process is waiting for the master process to ping via fd=%d", fpm_globals.send_config_pipe[0]); in fpm_unix_init_main() 521 ret = select(fpm_globals.send_config_pipe[0] + 1, &rfds, NULL, NULL, &tv); in fpm_unix_init_main() 528 ret = read(fpm_globals.send_config_pipe[0], &readval, sizeof(readval)); in fpm_unix_init_main()
|
H A D | fpm.h | 59 int send_config_pipe[2]; member
|
H A D | fpm.c | 43 .send_config_pipe = {0, 0},
|
H A D | fpm_main.c | 1864 if (fpm_globals.send_config_pipe[1]) { 1866 zlog(ZLOG_DEBUG, "Sending \"0\" (error) to parent via fd=%d", fpm_globals.send_config_pipe[1]); 1867 zend_quiet_write(fpm_globals.send_config_pipe[1], &writeval, sizeof(writeval)); 1868 close(fpm_globals.send_config_pipe[1]); 1873 if (fpm_globals.send_config_pipe[1]) { 1875 zlog(ZLOG_DEBUG, "Sending \"1\" (OK) to parent via fd=%d", fpm_globals.send_config_pipe[1]); 1876 zend_quiet_write(fpm_globals.send_config_pipe[1], &writeval, sizeof(writeval)); 1877 close(fpm_globals.send_config_pipe[1]);
|
Completed in 13 milliseconds