Hi, I have proposed implementation of entry and exit points for GDAL shared library. Initially, it was Windows-specific DllMain callback, but later I found it may be possible to use GCC extensions implement similar behaviour for Linux (Unix?) system. Here is the related ticket:
http://trac.osgeo.org/gdal/ticket/3824 The main motivation is to sanitize the run-time environment and perform all necessary clean-up during GDAL library unload, so it does not leave any resources (memory) unreleased. Frank suggested to discuss this idea on the list, so here we go and I'm looking forward to hearing your comments. Best regards, -- Mateusz Loskot, http://mateusz.loskot.net Charter Member of OSGeo, http://osgeo.org Member of ACCU, http://accu.org _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev