[Mapserver-users] thread safe support

Frank Warmerdam warmerdam at pobox.com
Tue Mar 9 13:55:42 EST 2004


Eduardo Patto Kanegae wrote:
> What is the purpose of the option:
> 
>  --with-threads[=linkopt]    Include thread safe support
> 
> in "./configure" of MapServer?
> 
> thanks

Eduardo,

This causes MapServer to use pthreads libraries to enable thread locking
and per-thread error management.  Without it multi-threaded applications
of mapserver (such as when loaded as a PHP, perl or Python module in
Apache or when using FastCGI) are likely to cause various ugly crashes.

Some more information can be found at:
  http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?ThreadSafety

I would note that I don't consider mapserver to be thread-safe even with
this all enabled, but it should be close for simple cases.

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    | Geospatial Programmer for Rent




More information about the mapserver-users mailing list