summaryrefslogtreecommitdiffstats
path: root/server/mpm/prefork/mpm_default.h
diff options
context:
space:
mode:
authorAaron Bannert <aaron@apache.org>2002-02-15 21:48:19 +0100
committerAaron Bannert <aaron@apache.org>2002-02-15 21:48:19 +0100
commit0cff6e8f58786d26b708272dd990bb9f2f483584 (patch)
treeef9a7959f8c57e5eff4f670779bfb7a79f50c8da /server/mpm/prefork/mpm_default.h
parentI'm happy now (diff)
downloadapache2-0cff6e8f58786d26b708272dd990bb9f2f483584.tar.xz
apache2-0cff6e8f58786d26b708272dd990bb9f2f483584.zip
Implement new ScoreBoardFile directive logic. This affects how we
create the scoreboard's shared memory segment. We now have the best of both worlds: if config specifies ScoreBoardFile create name-based shared memory, errors are fatal else /* we get to choose */ create anonymous shared memory if ENOTIMPL create name-based shared memory from DEFAULT_SCOREBOARD else errors are fatal This gives us the flexibility to have anonymous shared memory (on platforms that support it) as well as name-based shared memory when third-party programs want access to our scoreboard. The ap_scoreboard_fname static variable is now owned by the scoreboard.c file, and no longer by the MPMs. The MPMs MUST NOT set ap_scoreboard_fname to a default, since that will override the default creation logic and only allow name-based segments. Submitted by: Aaron Bannert Reviewed by: Justin Erenkrantz git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93434 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/mpm/prefork/mpm_default.h')
-rw-r--r--server/mpm/prefork/mpm_default.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/server/mpm/prefork/mpm_default.h b/server/mpm/prefork/mpm_default.h
index 3854a2bc23..2ba0867c51 100644
--- a/server/mpm/prefork/mpm_default.h
+++ b/server/mpm/prefork/mpm_default.h
@@ -85,11 +85,6 @@
#define DEFAULT_LOCKFILE "logs/accept.lock"
#endif
-/* Scoreboard file, if there is one */
-#ifndef DEFAULT_SCOREBOARD
-#define DEFAULT_SCOREBOARD "logs/apache_runtime_status"
-#endif
-
/* Where the main/parent process's pid is logged */
#ifndef DEFAULT_PIDLOG
#define DEFAULT_PIDLOG "logs/httpd.pid"