[Gdal-dev] Motion to Adopt RFC 16: OGR Thread Safety

Philippe Vachon philippe at cowpig.ca
Sun Oct 7 16:32:13 EDT 2007


Hi Frank,

I believe this RFC is an excellent idea and will ultimately make the
lives of developers who are writing threaded applications a lot easier.

As application developers are moving towards concurrent applications
for the purpose of taking advantage of the current trend of multi-core
CPUs, the safer that it can  be made for developers using OGR to make
use of OGR in threaded applications, the better. My personal belief is
that thread safety is something that should per pervasive through an 
application; trying to deal with issues relating to code that isn't 
reentrant or threadsafe in a threaded application is just creating an 
additional burden for developers using OGR.

>From the RFC, as far as I can tell, the proposed changes will not impact 
the way developers will interact with OGR should they choose not to take
advantage of these features. As well, unless a format driver is to be
designed to take advantage of the threadsafe functionality, this doesn't
seem to impact the implementation of new OGR drivers. I believe the
changes required to OGR will ultimately be worth it for developers in
the long run -- having seen what a nightmare it is to deal with
libraries that are neither threadsafe nor reentrant in a threaded
application, I can't think of any real justification as to why not to
implement this RFC.

Cheers,
Phil

On Sat, Oct 06, 2007 at 12:20:20PM -0400, Frank Warmerdam wrote:
> Motion: To adopt RFC 16: OGR Thread Safety
> 
> http://trac.osgeo.org/gdal/wiki/rfc16_ogr_reentrancy
> 
> ---
> 
> There wasn't to much discussion on this as far as I recall, which I take
> to mean no one has a problem with it.  So moving to formal vote so I can
> implement this coming week.
> 
> +1 from me.
> 
> Best regards,
> -- 
> ---------------------------------------+--------------------------------------
> I set the clouds in motion - turn up   | Frank Warmerdam, 
> warmerdam at pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush    | President OSGeo, http://osgeo.org
> 
> _______________________________________________
> Gdal-dev mailing list
> Gdal-dev at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/gdal-dev



More information about the Gdal-dev mailing list