Searched defs:pid (Results 1 - 21 of 21) sorted by relevance

/httpd/os/bs2000/
H A Dos.c100 pid_t pid; local
106 pid = fork();
115 pid = ufork(username);
116 if (pid == -1 && errno == EPERM) {
125 pid = 0;
129 return pid;
/httpd/server/mpm/simple/
H A Dsimple_children.c43 apr_hash_set(sc->children, &child->pid, sizeof(child->pid), NULL);
48 kill(child->pid, 9);
63 pid_t pid = 0; local
73 pid = fork();
74 if (pid == -1) {
81 if (pid == 0) {
100 if (pid != 0) {
106 child->pid = pid;
[all...]
H A Dsimple_types.h88 pid_t pid; member in struct:simple_child_t
/httpd/include/
H A Dap_mpm.h272 * @param pid The id of the MPM child process.
281 AP_DECLARE_HOOK(void,child_status,(server_rec *s, pid_t pid, ap_generation_t gen,
311 pid_t pid; member in struct:ap_exception_info_t
H A Dscoreboard.h47 * just status value and pid (the latter so that the caretaker process
98 * should set pid and generation fields in the worker_score.
100 pid_t pid; member in struct:worker_score
132 pid_t pid; member in struct:process_score
134 char quiescing; /* the process whose pid is stored above is
179 AP_DECLARE(int) ap_find_child_by_pid(apr_proc_t *pid); variable
/httpd/modules/ssl/
H A Dssl_engine_rand.c103 pid_t pid; member in struct:__anon322
114 my_seed.pid = mc->pid;
H A Dssl_private.h495 pid_t pid; member in struct:__anon337
/httpd/support/
H A Dsuexec.c453 pid_t pid; local
456 switch (pid = ufork(target_uname)) {
464 while (pid != waitpid(pid, &status, 0))
H A Dab.c544 pid_t pid; local
557 pid = getpid();
559 RAND_seed((unsigned char *)&pid, l);
/httpd/os/unix/
H A Dunixd.c508 pid_t pid; local
514 pid = fork();
523 pid = ufork(username);
524 if (pid == -1 && errno == EPERM) {
533 pid = 0;
537 return pid;
/httpd/test/
H A Dtime-sem.c93 lock_it.l_pid = 0; /* pid not actually interesting */
98 unlock_it.l_pid = 0; /* pid not actually interesting */
512 int pid; local
535 pid = fork();
536 if (pid == 0) {
549 } else if (pid == -1) {
/httpd/server/
H A Dmpm_common.c124 (server_rec *s, pid_t pid, ap_generation_t gen, int slot, mpm_child_status status),
125 (s,pid,gen,slot,status))
208 ret->pid = -1;
217 ret->pid = -1;
489 void ap_core_child_status(server_rec *s, pid_t pid, argument
535 gen, pid);
551 pid, gen, slot, status_msg);
H A Dscoreboard.c391 AP_DECLARE(int) ap_find_child_by_pid(apr_proc_t *pid) argument
399 if (ap_scoreboard_image->parent[i].pid == pid->pid) {
H A Dmpm_unix.c70 pid_t pid; member in struct:extra_process_t
76 AP_DECLARE(void) ap_register_extra_mpm_process(pid_t pid, ap_generation_t gen) argument
81 p->pid = pid;
86 AP_DECLARE(int) ap_unregister_extra_mpm_process(pid_t pid, ap_generation_t *old_gen) argument
91 while (cur && cur->pid != pid) {
113 static int reclaim_one_pid(pid_t pid, action_t action) argument
120 /* Ensure pid sanity. */
121 if (pid <
233 pid_t pid = ps->pid; local
284 pid_t pid = ps->pid; local
371 ap_process_child_status(apr_proc_t *pid, apr_exit_why_e why, int status) argument
758 send_signal(pid_t pid, int sig) argument
[all...]
H A Dlog.c126 /** The pid of the logging process */
127 apr_proc_t *pid; member in struct:piped_log
531 pid_t pid = getpid(); local
532 return apr_snprintf(buf, buflen, "%" APR_PID_T_FMT, pid);
765 pid_t pid; local
776 pid = getpid();
778 tmp = pid;
781 pid = pid >> 24;
782 tmp = pid;
[all...]
/httpd/server/mpm/motorz/
H A Dmotorz.c527 static void motorz_note_child_killed(int childnum, pid_t pid, argument
532 ap_scoreboard_image->parent[childnum].pid,
535 ap_scoreboard_image->parent[childnum].pid = 0;
538 static void motorz_note_child_started(motorz_core_t *mz, int slot, pid_t pid) argument
540 ap_scoreboard_image->parent[slot].pid = pid;
542 ap_scoreboard_image->parent[slot].pid,
1040 int pid; local
1066 if ((pid = fork()) == -1) {
1084 if (!pid) {
1268 apr_proc_t pid; local
[all...]
/httpd/server/mpm/prefork/
H A Dprefork.c138 #define MPM_CHILD_PID(i) (ap_scoreboard_image->parent[i].pid)
165 * GprofDir $RuntimeDir/% -> $ServerRoot/$RuntimeDir/gprof.$pid/gmon.out
202 static void prefork_note_child_killed(int childnum, pid_t pid, argument
207 ap_scoreboard_image->parent[childnum].pid,
210 ap_scoreboard_image->parent[childnum].pid = 0;
213 static void prefork_note_child_started(int slot, pid_t pid) argument
215 ap_scoreboard_image->parent[slot].pid = pid;
217 ap_scoreboard_image->parent[slot].pid,
755 int pid; local
1053 apr_proc_t pid; local
[all...]
/httpd/server/mpm/winnt/
H A Dmpm_winnt.c139 static void winnt_note_child_started(int slot, pid_t pid) argument
141 ap_scoreboard_image->parent[slot].pid = pid;
143 ap_scoreboard_image->parent[slot].pid,
150 ap_scoreboard_image->parent[slot].pid,
153 ap_scoreboard_image->parent[slot].pid = 0;
175 * httpd.pid file.
642 "Parent: Created child process %d", new_child.pid);
680 if (send_listeners_to_child(ptemp, new_child.pid, new_child.in)) {
697 *child_pid = new_child.pid;
1013 char *pid; local
[all...]
/httpd/modules/generators/
H A Dmod_cgid.c145 #define GETPID_REQ 3 /* get the pid of script created for prior request */
204 * to find the script pid when it is time for that
323 kill(proc->pid, SIGHUP); /* send signal to daemon telling it to die */
730 pid_t pid; local
733 pid = (pid_t)((long)apr_hash_get(script_hash, &cgid_req.conn_id, sizeof(cgid_req.conn_id)));
734 rv = sock_write(sd2, &pid, sizeof(pid));
738 "Error writing pid %" APR_PID_T_FMT " to handler", pid);
799 procnew->pid
1303 dead_yet(pid_t pid, apr_interval_time_t max_wait) argument
1331 cleanup_nonchild_process(request_rec *r, pid_t pid) argument
1358 pid_t pid; local
[all...]
/httpd/server/mpm/worker/
H A Dworker.c188 #define MPM_CHILD_PID(i) (ap_scoreboard_image->parent[i].pid)
192 int pid; member in struct:__anon378
388 static void worker_note_child_killed(int childnum, pid_t pid, ap_generation_t gen) argument
392 ap_scoreboard_image->parent[childnum].pid,
395 ap_scoreboard_image->parent[childnum].pid = 0;
398 ap_run_child_status(ap_server_conf, pid, gen, -1, MPM_CHILD_EXITED);
402 static void worker_note_child_started(int slot, pid_t pid) argument
404 ap_scoreboard_image->parent[slot].pid = pid;
406 ap_scoreboard_image->parent[slot].pid,
1404 int pid; local
1694 apr_proc_t pid; local
[all...]
/httpd/server/mpm/event/
H A Devent.c150 #define MPM_CHILD_PID(i) (ap_scoreboard_image->parent[i].pid)
307 int pid; member in struct:__anon363
602 static void event_note_child_killed(int childnum, pid_t pid, ap_generation_t gen) argument
606 ap_scoreboard_image->parent[childnum].pid,
609 ap_scoreboard_image->parent[childnum].pid = 0;
612 ap_run_child_status(ap_server_conf, pid, gen, -1, MPM_CHILD_EXITED);
616 static void event_note_child_started(int slot, pid_t pid) argument
618 ap_scoreboard_image->parent[slot].pid = pid;
620 ap_scoreboard_image->parent[slot].pid,
2675 int pid; local
2955 apr_proc_t pid; local
[all...]

Completed in 66 milliseconds