summaryrefslogtreecommitdiff
path: root/server/mpm/beos/mpm.h
diff options
context:
space:
mode:
authorJim Jagielski <jim@apache.org>2007-06-13 16:23:19 +0000
committerJim Jagielski <jim@apache.org>2007-06-13 16:23:19 +0000
commit91f25252ce2b5311fa76f7c6cd299f745656e0b6 (patch)
tree459cad01fd95d9dfe7a260c0e3dbf9df2e5139c6 /server/mpm/beos/mpm.h
parentebf474ed028be5f363f872d23960e4abb1a27225 (diff)
downloadhttpd-2.2-pid-table.tar.gz
Backport of PID table code from trunk to 2.2...httpd-2.2-pid-table
Create a branch for this until we test enough to fold into 2.2 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/httpd-2.2-pid-table@546948 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/mpm/beos/mpm.h')
-rw-r--r--server/mpm/beos/mpm.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/server/mpm/beos/mpm.h b/server/mpm/beos/mpm.h
index d61594b060..cadf36521a 100644
--- a/server/mpm/beos/mpm.h
+++ b/server/mpm/beos/mpm.h
@@ -31,7 +31,10 @@
#define MPM_NAME "Beos"
#define MPM_CHILD_PID(i) (ap_scoreboard_image->servers[0][i].tid)
-#define MPM_NOTE_CHILD_KILLED(i) (MPM_CHILD_PID(i) = 0)
+#define MPM_NOTE_CHILD_KILLED(i) do { \
+ ap_unset_pid_table(MPM_CHILD_PID(i)); \
+ MPM_CHILD_PID(i) = 0; \
+ } while(0)
#define AP_MPM_WANT_RECLAIM_CHILD_PROCESSES
#define AP_MPM_WANT_WAIT_OR_TIMEOUT