]> granicus.if.org Git - apache/commitdiff
Removed an extra apr_atomic_init() call from the mem_cache
authorBrian Pane <brianp@apache.org>
Sun, 22 Sep 2002 20:03:42 +0000 (20:03 +0000)
committerBrian Pane <brianp@apache.org>
Sun, 22 Sep 2002 20:03:42 +0000 (20:03 +0000)
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

index bc65af1e7875424dc83045239cc281e966f659e8..7b91505005ea9822e2ac945a97a83596d676a246 100644 (file)
@@ -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,