Home
last modified time | relevance | path

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

/mOS-networking-stack/samples/lighttpd-1.4.32/src/
H A Dlighttpd-angel.c28 static volatile pid_t pid = -1; variable
42 kill(pid, sig); in sigaction_handler()
48 kill(pid, SIGINT); in sigaction_handler()
95 pid = fork(); in main()
97 if (0 == pid) { in main()
105 } else if (-1 == pid) { in main()
115 if ((pid_t)-1 == waitpid(pid, &exitcode, 0)) { in main()
140 pid, in main()
148 pid, in main()
H A Dmod_cgi.c74 pid_t pid; member
204 r->ptr[r->used++] = pid; in cgi_pid_add()
518 pid_t pid; in cgi_connection_close() local
550 pid = hctx->pid; in cgi_connection_close()
558 if (pid) { in cgi_connection_close()
607 kill(pid, SIGTERM); in cgi_connection_close()
739 pid_t pid; in cgi_create_env() local
1170 hctx->pid = pid; in cgi_create_env()
1354 if (hctx->pid == 0) { in SUBREQUEST_FUNC()
1382 hctx->pid = 0; in SUBREQUEST_FUNC()
[all …]
H A Dmod_scgi.c320 pid_t pid; member
579 if (proc->pid != 0) kill(proc->pid, SIGTERM); in FREE_FUNC()
588 if (proc->pid != 0) kill(proc->pid, SIGTERM); in FREE_FUNC()
890 proc->pid = child; in scgi_spawn_connection()
899 proc->pid = 0; in scgi_spawn_connection()
1985 p->pid, p->load); in scgi_proclist_sort_up()
2057 p->pid, p->load); in scgi_proclist_sort_down()
2078 proc->pid); in scgi_restart_dead_procs()
2230 hctx->pid = hctx->proc->pid; in scgi_write_request()
2431 hctx->pid == proc->pid) { in SUBREQUEST_FUNC()
[all …]
H A Dmod_fastcgi.c359 pid_t pid; member
722 if (proc->pid != 0) { in FREE_FUNC()
733 if (proc->pid != 0) { in FREE_FUNC()
1133 proc->pid = child; in fcgi_spawn_connection()
1141 proc->pid = 0; in fcgi_spawn_connection()
2545 "pid:", proc->pid, in fcgi_demux_response()
2717 proc->pid); in fcgi_restart_dead_procs()
2960 hctx->pid = hctx->proc->pid; in fcgi_write_request()
3037 "pid:", hctx->proc->pid, in fcgi_write_request()
3787 proc->pid = 0; in TRIGGER_FUNC()
[all …]
H A Dmod_rrdtool.c95 pid_t pid; in mod_rrd_create_pipe() local
112 switch (pid = fork()) { in mod_rrd_create_pipe()
170 p->rrdtool_pid = pid; in mod_rrd_create_pipe()
H A Dmod_ssi.c717 pid_t pid; in process_ssi_stmt() local
746 switch (pid = fork()) { in process_ssi_stmt()
784 if (-1 == waitpid(pid, &status, 0)) { in process_ssi_stmt()
/mOS-networking-stack/samples/lighttpd-1.4.32/tests/
H A DLightyTest.pm74 my $pid = $self->{LIGHTTPD_PID};
75 if (defined $pid && $pid != -1) {
76 kill('TERM', $pid) or return -1;
77 return -1 if ($pid != waitpid($pid, 0));
397 my ($self, $pid) = @_;
398 return -1 if (-1 == $pid);
399 kill(2, $pid);
400 waitpid($pid, 0);
H A Dmod-compress.conf6 server.pid-file = env.SRCDIR + "/tmp/lighttpd/lighttpd.pid"
/mOS-networking-stack/samples/lighttpd-1.4.32/doc/initscripts/
H A Drc.lighttpd122 touch /var/run/lighttpd.pid
148 test /etc/lighttpd/lighttpd.conf -nt /var/run/lighttpd.pid && echo reload
/mOS-networking-stack/samples/lighttpd-1.4.32/doc/config/
H A Dlighttpd.orig.conf127 server.pid-file = state_dir + "/lighttpd.pid"
H A Dlighttpd.conf129 server.pid-file = state_dir + "/lighttpd.pid"
H A Dm-lighttpd.conf129 server.pid-file = state_dir + "/lighttpd.pid"
/mOS-networking-stack/samples/lighttpd-1.4.32/doc/outdated/
H A Dconfiguration.txt57 # var.PID is initialised to the pid of lighttpd before config is parsed
386 server.pid-file
387 set the name of the .pid-file where the PID of the server should be placed.
/mOS-networking-stack/samples/lighttpd-1.4.32/
H A DNEWS1075 * added server.pid-file