Hi, I am using GDAL (1.10.1) in a Java Servlet environment via JNI. I observed that Dataset objects cannot be shared between threads, even if they are not used in parallel, but strictly consecutively. For me, the VM crashes if a thread uses a Dataset that it didn't create.
So somehow Dataset objects (on the Java or on the C side) seem to be using ThreadLocal information. Is this correct? Would it be hard to eliminate this behaviour (as it would make pooling Dataset objects much easier and more efficient)? Thanks for any pointers or remarks, Markus -- Markus Schneider CEO Occam Labs UG (haftungsbeschränkt) Godesberger Allee 139 53175 Bonn, Germany +49 228 93798874 http://www.occamlabs.de
signature.asc
Description: OpenPGP digital signature
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
