]> granicus.if.org Git - apache/commitdiff
Removed these a bit too soon. Adding them back.
authorBill Stoddard <stoddard@apache.org>
Thu, 9 Dec 1999 21:50:16 +0000 (21:50 +0000)
committerBill Stoddard <stoddard@apache.org>
Thu, 9 Dec 1999 21:50:16 +0000 (21:50 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84269 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/winnt/mpm_winnt.c

index 808f47b4ab4b81d21947093cb8b1a1c99b9edca0..483cbfc7e6ce544f534c6c6f95912ea3b8fbae23 100644 (file)
@@ -340,7 +340,15 @@ static void signal_parent(int type)
     }
     CloseHandle(e);
 }
-
+static int volatile is_graceful = 0;
+API_EXPORT(int) ap_graceful_stop_signalled(void)
+{
+    return is_graceful;
+}
+void ap_start_shutdown(void)
+{
+    signal_parent(0);
+}
 /*
  * Initialise the signal names, in the global variables signal_name_prefix, 
  * signal_restart_name and signal_shutdown_name.