From 01026cbc46f5d14bb146df9ed87e813955dab609 Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Sat, 21 Nov 2009 17:18:39 +0000 Subject: [PATCH] remove dead code related to the accept mutex git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@882943 13f79535-47bb-0310-9956-ffa450edef68 --- server/mpm/event/mpm_default.h | 5 ----- server/mpm/mpmt_os2/mpmt_os2.c | 6 ------ server/mpm/netware/mpm_default.h | 6 ------ server/mpm/netware/mpm_netware.c | 6 ------ server/mpm/simple/mpm_default.h | 5 ----- 5 files changed, 28 deletions(-) diff --git a/server/mpm/event/mpm_default.h b/server/mpm/event/mpm_default.h index c26ee714bf..74ccd7a2ca 100644 --- a/server/mpm/event/mpm_default.h +++ b/server/mpm/event/mpm_default.h @@ -51,11 +51,6 @@ #define DEFAULT_THREADS_PER_CHILD 25 #endif -/* File used for accept locking, when we use a file */ -#ifndef DEFAULT_LOCKFILE -#define DEFAULT_LOCKFILE DEFAULT_REL_RUNTIMEDIR "/accept.lock" -#endif - /* Where the main/parent process's pid is logged */ #ifndef DEFAULT_PIDLOG #define DEFAULT_PIDLOG DEFAULT_REL_RUNTIMEDIR "/httpd.pid" diff --git a/server/mpm/mpmt_os2/mpmt_os2.c b/server/mpm/mpmt_os2/mpmt_os2.c index 1b410e721d..4d8f22e491 100644 --- a/server/mpm/mpmt_os2/mpmt_os2.c +++ b/server/mpm/mpmt_os2/mpmt_os2.c @@ -272,12 +272,6 @@ static char master_main() ap_get_server_description()); ap_log_error(APLOG_MARK, APLOG_INFO, 0, ap_server_conf, "Server built: %s", ap_get_server_built()); -#ifdef AP_MPM_WANT_SET_ACCEPT_LOCK_MECH - ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, ap_server_conf, - "AcceptMutex: %s (default: %s)", - apr_proc_mutex_name(accept_mutex), - apr_proc_mutex_defname()); -#endif if (one_process) { ap_scoreboard_image->parent[0].pid = getpid(); ap_mpm_child_main(pconf); diff --git a/server/mpm/netware/mpm_default.h b/server/mpm/netware/mpm_default.h index 96c5aa0914..80c97e08ad 100644 --- a/server/mpm/netware/mpm_default.h +++ b/server/mpm/netware/mpm_default.h @@ -86,12 +86,6 @@ #define DEFAULT_REL_RUNTIMEDIR "logs" #endif -/* File used for accept locking, when we use a file */ -/*#ifndef DEFAULT_LOCKFILE - #define DEFAULT_LOCKFILE DEFAULT_REL_RUNTIMEDIR "/accept.lock" - #endif -*/ - /* Where the main/parent process's pid is logged */ /*#ifndef DEFAULT_PIDLOG #define DEFAULT_PIDLOG DEFAULT_REL_RUNTIMEDIR "/httpd.pid" diff --git a/server/mpm/netware/mpm_netware.c b/server/mpm/netware/mpm_netware.c index 4f70d51ef4..329e7bac74 100644 --- a/server/mpm/netware/mpm_netware.c +++ b/server/mpm/netware/mpm_netware.c @@ -922,12 +922,6 @@ static int netware_run(apr_pool_t *_pconf, apr_pool_t *plog, server_rec *s) ap_get_server_description()); ap_log_error(APLOG_MARK, APLOG_INFO, 0, ap_server_conf, "Server built: %s", ap_get_server_built()); -#ifdef AP_MPM_WANT_SET_ACCEPT_LOCK_MECH - ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, ap_server_conf, - "AcceptMutex: %s (default: %s)", - apr_proc_mutex_name(accept_mutex), - apr_proc_mutex_defname()); -#endif show_server_data(); mpm_state = AP_MPMQ_RUNNING; diff --git a/server/mpm/simple/mpm_default.h b/server/mpm/simple/mpm_default.h index c26ee714bf..74ccd7a2ca 100644 --- a/server/mpm/simple/mpm_default.h +++ b/server/mpm/simple/mpm_default.h @@ -51,11 +51,6 @@ #define DEFAULT_THREADS_PER_CHILD 25 #endif -/* File used for accept locking, when we use a file */ -#ifndef DEFAULT_LOCKFILE -#define DEFAULT_LOCKFILE DEFAULT_REL_RUNTIMEDIR "/accept.lock" -#endif - /* Where the main/parent process's pid is logged */ #ifndef DEFAULT_PIDLOG #define DEFAULT_PIDLOG DEFAULT_REL_RUNTIMEDIR "/httpd.pid" -- 2.40.0