[mapserver-commits] r12182 - trunk/mapserver/mapcache/src

svn at osgeo.org svn at osgeo.org
Fri Aug 26 07:05:02 EDT 2011


Author: tbonfort
Date: 2011-08-26 04:05:01 -0700 (Fri, 26 Aug 2011)
New Revision: 12182

Modified:
   trunk/mapserver/mapcache/src/mod_geocache.c
Log:
try to use a pseudo-unique name for the global mutex
thomas.bonfort | 2010-12-17 11:32:25 +0100 (Fri, 17 Dec 2010)

Modified: trunk/mapserver/mapcache/src/mod_geocache.c
===================================================================
--- trunk/mapserver/mapcache/src/mod_geocache.c	2011-08-26 11:04:58 UTC (rev 12181)
+++ trunk/mapserver/mapcache/src/mod_geocache.c	2011-08-26 11:05:01 UTC (rev 12182)
@@ -249,7 +249,7 @@
       return 1;
    }
 #endif
-#ifdef APR_HAS_PROC_PTHREAD_SERIALIZE
+#if APR_HAS_PROC_PTHREAD_SERIALIZE
    lock_type = APR_LOCK_PROC_PTHREAD;
 #endif
    rc = apr_global_mutex_create(&cfg->mutex,geocache_mutex_name,lock_type,p);



More information about the mapserver-commits mailing list