httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From grega...@apache.org
Subject cvs commit: httpd-2.0/modules/experimental mod_mem_cache.c
Date Mon, 10 Jun 2002 18:27:14 GMT
gregames    2002/06/10 11:27:13

  Modified:    modules/experimental mod_mem_cache.c
  Log:
  fix compile breakage on platforms with default atomics
  
  Revision  Changes    Path
  1.69      +4 -0      httpd-2.0/modules/experimental/mod_mem_cache.c
  
  Index: mod_mem_cache.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/experimental/mod_mem_cache.c,v
  retrieving revision 1.68
  retrieving revision 1.69
  diff -u -r1.68 -r1.69
  --- mod_mem_cache.c	6 Jun 2002 19:07:09 -0000	1.68
  +++ mod_mem_cache.c	10 Jun 2002 18:27:13 -0000	1.69
  @@ -992,6 +992,10 @@
           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,
  
  
  

Mime
View raw message