Using thread local variables instead of the global ones

Daniel Morissette dmorissette at MAPGEARS.COM
Fri Apr 28 13:01:34 EDT 2006

Frank Warmerdam wrote:
>> \mapserver\mapwms.c(249):static char *wms_exception_format=NULL;
>> \mapserver\mapwms.c(2779):  static char *request=NULL,
>> *service=NULL, *format=NULL;
> not too sure.

The first one would need some work to be made thread-safe.

The second one must have been a mistake, I have changed them to const in 
the 4.9 CVS.

Daniel Morissette

More information about the mapserver-dev mailing list