Searched refs:getpid (Results 1 - 25 of 27) sorted by relevance

12

/httpd/os/netware/
H A Dos.h49 #define getpid NXThreadGetId macro
/httpd/modules/examples/
H A Dmod_example_ipc.c156 (long int)getpid());
266 (long int)getpid());
273 (long int)getpid());
285 (long int) getpid(), timecamped);
306 (int) getpid());
318 (int) getpid(), (int) timecamped);
/httpd/modules/proxy/examples/
H A Dmod_lbmethod_rr.c31 #include <unistd.h> /* for getpid() */
54 balancer->name, (int)getpid());
63 balancer->name, (int)getpid());
69 ctx->index, (int)getpid());
/httpd/modules/arch/unix/
H A Dmod_systemd.c47 mainpid = getpid();
/httpd/server/mpm/mpmt_os2/
H A Dmpmt_os2_child.c99 int my_pid = getpid();
323 "caught exception in worker thread, initiating child shutdown pid=%d", getpid());
334 kill(getpid(), SIGHUP);
370 apr_psprintf(pchild, "/queues/httpd/work.%d", getpid()));
424 apr_psprintf(pchild, "/queues/httpd/work.%d", getpid()));
H A Dmpmt_os2.c124 ap_scoreboard_fname = apr_psprintf(pconf, "/sharemem/httpd/scoreboard.%d", is_parent_process ? getpid() : getppid());
214 listener_shm_name = apr_psprintf(pconf, "/sharemem/httpd/parent_info.%d", getpid());
267 ap_scoreboard_image->parent[0].pid = getpid();
/httpd/server/
H A Dmpm_unix.c964 /* linuxthreads issue calling getpid() here:
971 if (getpid() == parent_pid) {
982 kill(getpid(), sig);
994 my_pid = getpid();
1060 parent_pid = my_pid = getpid();
H A Dlog.c45 #include <process.h> /* for getpid() on Win32 */
531 pid_t pid = getpid();
776 pid = getpid();
1514 fname, getpid());
1539 mypid = getpid();
H A Dutil_mutex.c42 #include <unistd.h> /* getpid() */
303 pid_suffix = apr_psprintf(p, ".%" APR_PID_T_FMT, getpid());
/httpd/modules/loggers/
H A Dmod_log_forensic.c197 id = apr_psprintf(r->pool, "%" APR_PID_T_FMT ":%lx:%x", getpid(),
/httpd/server/mpm/prefork/
H A Dprefork.c156 static pid_t ap_my_pid; /* it seems silly to call getpid all the time */
517 ap_my_pid = getpid();
771 prefork_note_child_started(slot, getpid());
811 int status = bindprocessor(BINDPROCESS, (int)getpid(),
1399 parent_pid = ap_my_pid = getpid();
/httpd/modules/generators/
H A Dmod_status.c217 times_per_thread = getpid() != child_pid;
964 child_pid = getpid();
H A Dmod_cgid.c928 parent_pid = getpid();
/httpd/server/mpm/motorz/
H A Dmotorz.c46 static pid_t ap_my_pid; /* it seems silly to call getpid all the time */
848 ap_my_pid = getpid();
1056 motorz_note_child_started(mz, slot, getpid());
1091 int status = bindprocessor(BINDPROCESS, (int)getpid(),
1611 parent_pid = ap_my_pid = getpid();
/httpd/support/
H A Dsuexec.c468 kill (getpid(), WTERMSIG(status));
H A Dab.c152 #include <unistd.h> /* for getpid() */
557 pid = getpid();
H A Dhtcacheclean.c1354 pid_t mypid = getpid();
/httpd/server/mpm/worker/
H A Dworker.c231 static pid_t ap_my_pid; /* Linux getpid() doesn't work except in main
1239 ap_my_pid = getpid();
1414 worker_note_child_started(slot, getpid());
1446 int status = bindprocessor(BINDPROCESS, (int)getpid(),
2152 parent_pid = ap_my_pid = getpid();
/httpd/server/mpm/netware/
H A Dmpm_netware.c137 static pid_t ap_my_pid; /* it seems silly to call getpid all the time */
888 ap_scoreboard_image->parent[0].pid = getpid();
985 ap_my_pid = getpid();
/httpd/server/mpm/event/
H A Devent.c424 static pid_t ap_my_pid; /* Linux getpid() doesn't work except in main
2513 ap_my_pid = getpid();
2685 event_note_child_started(slot, getpid());
2718 int status = bindprocessor(BINDPROCESS, (int) getpid(),
3422 parent_pid = ap_my_pid = getpid();
/httpd/modules/ssl/
H A Dssl_engine_init.c163 mc->pid = getpid();
1733 mc->pid = getpid(); /* only call getpid() once per-process */
H A Dmod_ssl_ct.c2570 getpid());
/httpd/modules/dav/fs/
H A Drepos.c27 #include <unistd.h> /* for getpid() */
890 int num = ((getpid() << 7) + (apr_uintptr_t)templ % (1 << 16) ) %
/httpd/modules/proxy/
H A Dproxy_util.c28 #include <unistd.h> /* for getpid() */
1924 getpid(), worker->s->hostname, worker->s->min,
1941 getpid(), worker->s->hostname);
/httpd/modules/lua/
H A Dmod_lua.c36 /* getpid for *NIX */
44 /* getpid for Windows */
2020 (long int)getpid());

Completed in 905 milliseconds

12