Re: [geos-devel] Thread safety issues

2017-06-29 Thread Even Rouault
On jeudi 29 juin 2017 23:19:30 CEST Tamas Szekeres wrote: > Dear developers, > > We have encountered thread safety issues when invoking the geos C api from > multiple threads on a site with strong traffic. > > Specifically CLocalizer is using std::setlocale which is not thread safe. ( >

[geos-devel] Thread safety issues

2017-06-29 Thread Tamas Szekeres
Dear developers, We have encountered thread safety issues when invoking the geos C api from multiple threads on a site with strong traffic. Specifically CLocalizer is using std::setlocale which is not thread safe. ( http://en.cppreference.com/w/cpp/locale/setlocale). Do we have a workaround to