[fdo-commits] r727 - branches/3.2.x/Fdo/Unmanaged/Src/Fdo

svn_fdo at osgeo.org svn_fdo at osgeo.org
Wed Feb 7 11:04:34 EST 2007


Author: gavincramer
Date: 2007-02-07 11:04:33 -0500 (Wed, 07 Feb 2007)
New Revision: 727

Modified:
   branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Fdo.cpp
Log:
(Fix Linux build) FDO: Fix Geometry pool sharing objects between threads


Modified: branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Fdo.cpp
===================================================================
--- branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Fdo.cpp	2007-02-07 15:50:06 UTC (rev 726)
+++ branches/3.2.x/Fdo/Unmanaged/Src/Fdo/Fdo.cpp	2007-02-07 16:04:33 UTC (rev 727)
@@ -73,10 +73,12 @@
 #else
 void _load();
 void _unload();
+void _loadFdoCommon();
+void _unloadFdoCommon();
 
 /*
-   This is temporary code to call _load/_unload in FdoGeometryDll.cpp
-   when the shared library is loaded/unloaded.
+   This is to call _load/_unload methods in FdoGeometry and FdoCommon
+   packages when the FDO shared library is loaded/unloaded.
 */
 class InitClass
 {
@@ -84,10 +86,12 @@
     InitClass()
     {
         _load();
+        _loadFdoCommon();
     };
     ~InitClass()
     {
         _unload();
+        _unloadFdoCommon();
     };
 };
 



More information about the fdo-commits mailing list