[Gdal-dev] Is OGR reentrant?

Mateusz Loskot mateusz at loskot.net
Fri Sep 22 11:36:57 EDT 2006


Mateusz Loskot wrote:
> ugeni79 at gmail.com wrote:
>> Hi, I am using gdal 1.3.1 on windows and when I try to read from two 
>> different shapefiles at the same time from two different threads my 
>> application crashes.  Is OGR (or maybe in this case shapelib)
>> supposed to be reentrant?  If not, has anyone looked at what it would
>> take to make it reentrant? Any help would be greatly appreciated!
> 
> Are you talking about reentrance or thread-safety?
> According to my understanding, both are different concepts.
> Generally, reentrance provides calls across processes, but thread-safety
------------------------------^^^^^^^^^^^^^^

Should be concurent calls safety.

Cheers

-- 
Mateusz Loskot
http://mateusz.loskot.net



More information about the Gdal-dev mailing list