Revision: 8854
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8854&view=rev
Author:   jswhit
Date:     2010-12-29 14:18:30 +0000 (Wed, 29 Dec 2010)

Log Message:
-----------
updated src/pj_mutex.c from proj4 svn to fix a threading bug on Windows.

Modified Paths:
--------------
    trunk/toolkits/basemap/Changelog
    trunk/toolkits/basemap/src/pj_mutex.c

Modified: trunk/toolkits/basemap/Changelog
===================================================================
--- trunk/toolkits/basemap/Changelog    2010-12-29 08:30:32 UTC (rev 8853)
+++ trunk/toolkits/basemap/Changelog    2010-12-29 14:18:30 UTC (rev 8854)
@@ -1,4 +1,9 @@
 version 1.0.1 (not yet released).
+           * updated src/pj_mutex.c from proj4 svn to fix a threading bug
+             on Windows.
+           * if you try to transform NaNs to/from map projection coords, 1.e30 
+             is returned (previously, this caused a segfault for some
+             projections).
            * NetCDFFile function deprecated, will be removed in 1.0.2.  Issue
              warning advising users to use netcdf4-python instead.
            * Deleting an item from the dicts returned by drawparallels

Modified: trunk/toolkits/basemap/src/pj_mutex.c
===================================================================
--- trunk/toolkits/basemap/src/pj_mutex.c       2010-12-29 08:30:32 UTC (rev 
8853)
+++ trunk/toolkits/basemap/src/pj_mutex.c       2010-12-29 14:18:30 UTC (rev 
8854)
@@ -181,8 +181,8 @@
 {
     if( mutex_lock == NULL )
         pj_init_lock();
-
-    ReleaseMutex( mutex_lock );
+    else
+        ReleaseMutex( mutex_lock );
 }
 
 /************************************************************************/
@@ -205,7 +205,7 @@
 
 {
     if( mutex_lock == NULL )
-        mutex_lock = CreateMutex( NULL, TRUE, NULL );
+        mutex_lock = CreateMutex( NULL, FALSE, NULL );
 }
 
 #endif // def MUTEX_win32


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Matplotlib-checkins mailing list
Matplotlib-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to