httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yla...@apache.org
Subject svn commit: r1783894 - /httpd/httpd/trunk/server/mpm/motorz/motorz.c
Date Tue, 21 Feb 2017 14:21:45 GMT
Author: ylavic
Date: Tue Feb 21 14:21:44 2017
New Revision: 1783894

URL: http://svn.apache.org/viewvc?rev=1783894&view=rev
Log:
mpm_motorz: no mutex needed at ptrans' allocator level.
(reverts r1783755 partially)


Modified:
    httpd/httpd/trunk/server/mpm/motorz/motorz.c

Modified: httpd/httpd/trunk/server/mpm/motorz/motorz.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/motorz/motorz.c?rev=1783894&r1=1783893&r2=1783894&view=diff
==============================================================================
--- httpd/httpd/trunk/server/mpm/motorz/motorz.c (original)
+++ httpd/httpd/trunk/server/mpm/motorz/motorz.c Tue Feb 21 14:21:44 2017
@@ -186,7 +186,6 @@ static apr_status_t motorz_io_accept(mot
     apr_socket_t *socket;
     ap_listen_rec *lr = (ap_listen_rec *) sb->baton;
     apr_allocator_t *allocator;
-    apr_thread_mutex_t *mutex;
 
     apr_allocator_create(&allocator);
     apr_allocator_max_free_set(allocator, ap_max_mem_free);
@@ -194,9 +193,6 @@ static apr_status_t motorz_io_accept(mot
     apr_allocator_owner_set(allocator, ptrans);
     apr_pool_tag(ptrans, "transaction");
 
-    apr_thread_mutex_create(&mutex, APR_THREAD_MUTEX_DEFAULT, ptrans);
-    apr_allocator_mutex_set(allocator, mutex);
-
     ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, ap_server_conf, APLOGNO(03318)
                          "motorz_io_accept(): entered");
 



Mime
View raw message