summaryrefslogtreecommitdiffstats
path: root/include/ap_mpm.h
diff options
context:
space:
mode:
authorPaul J. Reder <rederpj@apache.org>2001-07-18 22:29:00 +0200
committerPaul J. Reder <rederpj@apache.org>2001-07-18 22:29:00 +0200
commit620a48e6099b08b7a806e0097223f06eab433ddb (patch)
treeeb468324461fdc880e26622221619695e7d4292a /include/ap_mpm.h
parentBringing forward from 1.3: small changes to standardize argument types. (diff)
downloadapache2-620a48e6099b08b7a806e0097223f06eab433ddb.tar.xz
apache2-620a48e6099b08b7a806e0097223f06eab433ddb.zip
Changed AP_MPMQ_MAX_DAEMONS to refer to MaxClients and
added an AP_MPMQ_MAX_DAEMON_USED to refer to the highest daemon index actually used in the scoreboard. I also updated the pertinent calls. Paul J. Reder git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89604 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/ap_mpm.h')
-rw-r--r--include/ap_mpm.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/ap_mpm.h b/include/ap_mpm.h
index a957f7b947..b1645b631d 100644
--- a/include/ap_mpm.h
+++ b/include/ap_mpm.h
@@ -158,17 +158,18 @@ AP_DECLARE(apr_status_t) ap_os_create_privileged_process(
/* an MPM is using a dynamic # */
/* threads or daemons. */
-#define AP_MPMQ_MAX_DAEMONS 1 /* Max # of daemons */
+#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 */
#define AP_MPMQ_HARD_LIMIT_DAEMONS 4 /* The compiled max # deamons */
#define AP_MPMQ_HARD_LIMIT_THREADS 5 /* The compiled max # threads */
-#define AP_MPMQ_MAX_THREADS 6 /* Max # of threads */
+#define AP_MPMQ_MAX_THREADS 6 /* # of threads/child by config */
#define AP_MPMQ_MIN_SPARE_DEAMONS 7 /* Min # of spare daemons */
#define AP_MPMQ_MIN_SPARE_THREADS 8 /* Min # of spare threads */
#define AP_MPMQ_MAX_SPARE_DAEMONS 9 /* Max # of spare daemons */
#define AP_MPMQ_MAX_SPARE_THREADS 10 /* Max # of spare threads */
#define AP_MPMQ_MAX_REQUESTS_DEAMON 11 /* Max # of requests per daemon */
+#define AP_MPMQ_MAX_DAEMONS 12 /* Max # of daemons by config */
/**