]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
SCOREBOARD_MAINTENANCE_INTERVAL is gone, except for some local
authorJeff Trawick <trawick@apache.org>
Sat, 26 Mar 2011 18:37:14 +0000 (18:37 +0000)
committerJeff Trawick <trawick@apache.org>
Sat, 26 Mar 2011 18:37:14 +0000 (18:37 +0000)
usage within the NetWare and OS/2 MPMs.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1085780 13f79535-47bb-0310-9956-ffa450edef68

include/mpm_common.h
server/mpm/event/mpm_default.h
server/mpm/prefork/mpm_default.h
server/mpm/winnt/mpm_default.h
server/mpm/worker/mpm_default.h

index 2cd00e19ffc91a312d739c50c667b88ca768c922..bb512836c775db263a9406277469674e708aeb03 100644 (file)
@@ -143,9 +143,8 @@ int ap_unregister_extra_mpm_process(pid_t pid);
 apr_status_t ap_mpm_safe_kill(pid_t pid, int sig);
 
 /**
- * Determine if any child process has died.  If no child process died, then
- * this process sleeps for the amount of time specified by the MPM defined
- * macro SCOREBOARD_MAINTENANCE_INTERVAL.
+ * Run the monitor hook (once every ten calls), determine if any child
+ * process has died and, if none died, sleep one second.
  * @param status The return code if a process has died
  * @param exitcode The returned exit status of the child, if a child process 
  *                 dies, or the signal that caused the child to die.
index c0615b4689f84b65862dc3c1a8de43402b5d6640..d27b233c50fa5ed06021ba55cca090a8724459da 100644 (file)
 #define DEFAULT_PIDLOG DEFAULT_REL_RUNTIMEDIR "/httpd.pid"
 #endif
 
-/*
- * Interval, in microseconds, between scoreboard maintenance.
- */
-#ifndef SCOREBOARD_MAINTENANCE_INTERVAL
-#define SCOREBOARD_MAINTENANCE_INTERVAL 1000000
-#endif
-
 /* Number of requests to try to handle in a single process.  If <= 0,
  * the children don't die off.
  */
index 3fe9182ce4852997ed46c6deaa0b2c899a131bf2..02e9320ed9081d871e5173e31fa5c3b8d6a8afef 100644 (file)
 #define DEFAULT_PIDLOG DEFAULT_REL_RUNTIMEDIR "/httpd.pid"
 #endif
 
-/*
- * Interval, in microseconds, between scoreboard maintenance.
- */
-#ifndef SCOREBOARD_MAINTENANCE_INTERVAL
-#define SCOREBOARD_MAINTENANCE_INTERVAL 1000000
-#endif
-
 /* Number of requests to try to handle in a single process.  If <= 0,
  * the children don't die off.
  */
index 990eb47ae507e1ffb4c41a7770d9b84ee9b992e7..4defd2e6c7c0b264e5d1dee8b574003f6137f195 100644 (file)
 #define DEFAULT_PIDLOG DEFAULT_REL_RUNTIMEDIR "/httpd.pid"
 #endif
 
-/*
- * Interval, in microseconds, between scoreboard maintenance.
- */
-#ifndef SCOREBOARD_MAINTENANCE_INTERVAL
-#define SCOREBOARD_MAINTENANCE_INTERVAL 1000000
-#endif
-
 /* Number of requests to try to handle in a single process.  If <= 0,
  * the children don't die off.
  */
index 1743721bee55dec99851f12e77e34277b032deba..c8ea98ac9e04666e62254a0c82d0e97c808cbb8e 100644 (file)
 #define DEFAULT_PIDLOG DEFAULT_REL_RUNTIMEDIR "/httpd.pid"
 #endif
 
-/*
- * Interval, in microseconds, between scoreboard maintenance.
- */
-#ifndef SCOREBOARD_MAINTENANCE_INTERVAL
-#define SCOREBOARD_MAINTENANCE_INTERVAL 1000000
-#endif
-
 /* Number of requests to try to handle in a single process.  If <= 0,
  * the children don't die off.
  */