From: Brian Pane Date: Sun, 22 Sep 2002 20:03:42 +0000 (+0000) Subject: Removed an extra apr_atomic_init() call from the mem_cache X-Git-Tag: WROWE_2_0_43_PRE1~54 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f119de12a40bab32afc4679299859e29d4dbb074;p=apache 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 --- 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,