[Mapserver-dev] MS concurrency problem with vector symbols (partially solved)

Daniel Morissette morissette at dmsolutions.ca
Thu Jun 12 23:01:12 EDT 2003


Mark Cave-Ayland wrote:
> 
> Anyway, I've spent several hours chipping away at this one and I've
> managed to find where things were going wrong. The problem was that I
> was calling setSymbolSet() which is not thread safe because it uses the
> parser without locking. To fix the problem I implemented a lock around
> msLoadSymbolSet() in mapsymbol.c and also had to change the lexer reset
> code a little - please find the patch attached.
> 

FYI I filed this in bugzilla so that someone test and apply the patch
when we have a chance:
http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=339

-- 
------------------------------------------------------------
 Daniel Morissette               morissette at dmsolutions.ca
 DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------



More information about the mapserver-dev mailing list