Re: [gdal-dev] Multithreading, deadlock with proj.4

2012-02-09 Thread Even Rouault
Selon Roger Phillips : You didn't mention which OS you are using, but if it is Windows, I believe you are running into this proj4 bug : http://trac.osgeo.org/proj/ticket/63 It is now fixed, but no 4.7.1 or 4.8.0 release has been made since the fix has been applied, so you have to patch it manuall

[gdal-dev] Multithreading, deadlock with proj.4

2012-02-09 Thread Roger Phillips
Hello folks, I recently tried to use the GDAL 1.9.0 API from multiple threads. However, they may arise a deadlock situation where one thread hangs in the cpl_multithread.cpp CPLAcquireMutex function and others hang in the pj_acquire_lock() function of the proj.4 4.7.0 API blocking each other.