[gdal-dev] [#3824][RFC] Introduce portable DllMain callback to DLL
mateusz at loskot.net
Thu Nov 11 17:42:39 EST 2010
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:
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.
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
Member of ACCU, http://accu.org
More information about the gdal-dev