[Gdal-dev] OGR thread-safety; .NET wrapper

Tamas Szekeres szekerest at gmail.com
Tue Oct 31 18:35:30 EST 2006


> I understand from previous posts that GDAL and OGR are not thread-safe.
> Is there an authoritative discussion somewhere about which components
> are and aren't? I am interested in using OGR components in a
> server-based application, and would be willing to contribute
> modifications to ensure thread-safety, but am not sure where to start.

You can search for the static variables and see how GDAL is using
them. All of the subsequent libraries (such as Proj.4) may also affect
the thread safety.

> I am working with a .NET wrapper of my own doing, which might also be of
> interest, as it properly encapsulates pointers in objects which ensure
> proper garbage collection.

How about the SWIG generated C# API?

Best Regards,

Tamas Szekeres

More information about the Gdal-dev mailing list