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

Mark Cave-Ayland m.cave-ayland at webbased.co.uk
Fri Jun 13 10:57:54 EDT 2003


> -----Original Message-----
> From: Daniel Morissette [mailto:morissette at dmsolutions.ca] 
> Sent: 13 June 2003 04:01
> To: Mark Cave-Ayland
> Cc: woodbri at swoodbridge.com; mapserver-dev at lists.gis.umn.edu
> Subject: Re: [Mapserver-dev] MS concurrency problem with 
> vector symbols (partially solved)
> 
> 
> 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


Hi Daniel,

Thanks for this, I guessed that people were quite busy over the past
week because of the MUM. It will be great to get the remaining issue
fixed since with this fix applied (and not parsing from map files at the
same time) we have a system that works fairly reliably under mod_perl.


Cheers,

Mark.

---

Mark Cave-Ayland
Webbased Ltd.
Tamar Science Park
Derriford
Plymouth
PL6 8BX
England

Tel: +44 (0)1752 764445
Fax: +44 (0)1752 764446


This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender. You
should not copy it or use it for any purpose nor disclose or distribute
its contents to any other person.





More information about the mapserver-dev mailing list