diff options
author | Yann Ylavic <ylavic@apache.org> | 2017-02-21 15:21:44 +0100 |
---|---|---|
committer | Yann Ylavic <ylavic@apache.org> | 2017-02-21 15:21:44 +0100 |
commit | 03545993ce242a7908b136f8d983b939249663d6 (patch) | |
tree | a8237ec2ba157e253506d01a9abb8654a32cf58a /server | |
parent | MPMs unix: Place signals handlers and helpers out of DSOs to avoid (diff) | |
download | apache2-03545993ce242a7908b136f8d983b939249663d6.tar.xz apache2-03545993ce242a7908b136f8d983b939249663d6.zip |
mpm_motorz: no mutex needed at ptrans' allocator level.
(reverts r1783755 partially)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1783894 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server')
-rw-r--r-- | server/mpm/motorz/motorz.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/server/mpm/motorz/motorz.c b/server/mpm/motorz/motorz.c index ac47e5fd96..93e54f9848 100644 --- a/server/mpm/motorz/motorz.c +++ b/server/mpm/motorz/motorz.c @@ -186,7 +186,6 @@ static apr_status_t motorz_io_accept(motorz_core_t *mz, motorz_sb_t *sb) 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(motorz_core_t *mz, motorz_sb_t *sb) 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"); |