From f119de12a40bab32afc4679299859e29d4dbb074 Mon Sep 17 00:00:00 2001 From: Brian Pane Date: Sun, 22 Sep 2002 20:03:42 +0000 Subject: [PATCH] Removed an extra apr_atomic_init() call from the mem_cache post-config code (the APR init takes care of this at httpd startup) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96949 13f79535-47bb-0310-9956-ffa450edef68 --- modules/experimental/mod_mem_cache.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/modules/experimental/mod_mem_cache.c b/modules/experimental/mod_mem_cache.c index bc65af1e78..7b91505005 100644 --- a/modules/experimental/mod_mem_cache.c +++ b/modules/experimental/mod_mem_cache.c @@ -1022,10 +1022,6 @@ static int mem_cache_post_config(apr_pool_t *p, apr_pool_t *plog, apr_thread_mutex_create(&sconf->lock, APR_THREAD_MUTEX_DEFAULT, p); } -#ifdef USE_ATOMICS - apr_atomic_init(p); -#endif - sconf->cache_cache = cache_init(sconf->max_object_cnt, sconf->max_cache_size, memcache_get_priority, -- 2.40.0