From e7ee42092774d028baf5aac2cb4dd464d4157c0f Mon Sep 17 00:00:00 2001 From: David Reid Date: Wed, 10 Jan 2001 18:36:08 +0000 Subject: [PATCH] Tidy up the beos mpm a little. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87643 13f79535-47bb-0310-9956-ffa450edef68 --- server/mpm/beos/beos.c | 43 +++++++----------------------------------- 1 file changed, 7 insertions(+), 36 deletions(-) diff --git a/server/mpm/beos/beos.c b/server/mpm/beos/beos.c index d1e01af2c7..eda7446a3a 100644 --- a/server/mpm/beos/beos.c +++ b/server/mpm/beos/beos.c @@ -128,7 +128,7 @@ struct ap_ctable ap_child_table[HARD_SERVER_LIMIT]; int ap_max_child_assigned = -1; int ap_max_threads_limit = -1; char ap_coredump_dir[MAX_STRING_LEN]; -static port_id port_of_death; +static volatile bool flag_of_death; /* shared http_main globals... */ @@ -211,7 +211,7 @@ static void ap_start_shutdown(void) } /* do a graceful restart if graceful == 1 */ -void ap_start_restart(int graceful) +static void ap_start_restart(int graceful) { if (restart_pending == 1) { @@ -234,12 +234,7 @@ static void restart(int sig) static void tell_workers_to_exit(void) { - int i, code = 99; - - for (i=0;i