summaryrefslogtreecommitdiff
path: root/include/ap_mpm.h
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2003-12-10 20:45:09 +0000
committerJeff Trawick <trawick@apache.org>2003-12-10 20:45:09 +0000
commitef4b1b3de7c83d9daf80dcc1f384a9e8ae022d15 (patch)
tree3df44bcc319958225128599ad3a8f66b787662cb /include/ap_mpm.h
parente3c11d6cd1d46c3cec575278ae4547ea32b3b770 (diff)
downloadhttpd-ef4b1b3de7c83d9daf80dcc1f384a9e8ae022d15.tar.gz
add new MPM query -- AP_MPMQ_MPM_STATE -- to find out what the MPM
is doing work-in-progress; not so useful until other MPMs support it git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102019 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/ap_mpm.h')
-rw-r--r--include/ap_mpm.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/ap_mpm.h b/include/ap_mpm.h
index 691f8124c1..a07b2478b3 100644
--- a/include/ap_mpm.h
+++ b/include/ap_mpm.h
@@ -160,6 +160,11 @@ AP_DECLARE(apr_status_t) ap_os_create_privileged_process(
/* an MPM is using a dynamic # */
/* threads or daemons. */
+/* Values returned for AP_MPMQ_MPM_STATE */
+#define AP_MPMQ_STARTING 0
+#define AP_MPMQ_RUNNING 1
+#define AP_MPMQ_STOPPING 2
+
#define AP_MPMQ_MAX_DAEMON_USED 1 /* Max # of daemons used so far */
#define AP_MPMQ_IS_THREADED 2 /* MPM can do threading */
#define AP_MPMQ_IS_FORKED 3 /* MPM can do forking */
@@ -172,7 +177,7 @@ AP_DECLARE(apr_status_t) ap_os_create_privileged_process(
#define AP_MPMQ_MAX_SPARE_THREADS 10 /* Max # of spare threads */
#define AP_MPMQ_MAX_REQUESTS_DAEMON 11 /* Max # of requests per daemon */
#define AP_MPMQ_MAX_DAEMONS 12 /* Max # of daemons by config */
-
+#define AP_MPMQ_MPM_STATE 13 /* starting, running, stopping */
/**
* Query a property of the current MPM.