]> granicus.if.org Git - apache/commitdiff
remove dead code related to the accept mutex
authorJeff Trawick <trawick@apache.org>
Sat, 21 Nov 2009 17:18:39 +0000 (17:18 +0000)
committerJeff Trawick <trawick@apache.org>
Sat, 21 Nov 2009 17:18:39 +0000 (17:18 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@882943 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/event/mpm_default.h
server/mpm/mpmt_os2/mpmt_os2.c
server/mpm/netware/mpm_default.h
server/mpm/netware/mpm_netware.c
server/mpm/simple/mpm_default.h

index c26ee714bf9433b007251ef2b570de75a2955071..74ccd7a2cae637d842e0f3522e6f11ba9adb789e 100644 (file)
 #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"
index 1b410e721d55993e3223a1ae60e2341027b7e60e..4d8f22e491550b523b9328f66bd90a35ffafb5f2 100644 (file)
@@ -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);
index 96c5aa0914f3289fd28bb5041269b66c362a4e40..80c97e08ada01803cd0dfcbae3c332c4c3df4b66 100644 (file)
 #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"
index 4f70d51ef4cc26fba9f69efa1e7f5b5913cca162..329e7bac744afb50ed56e7daab96f977b1d2d77f 100644 (file)
@@ -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;
index c26ee714bf9433b007251ef2b570de75a2955071..74ccd7a2cae637d842e0f3522e6f11ba9adb789e 100644 (file)
 #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"