<div class="Section1">
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-US">After reading article 'Is MapServer Thread-safe?' in
FAQ I have doubts.</span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-US">My question is what means that some component is unsafe,
I don't know architecture of mapserver and I don't need to know.
</span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-US">So listed unsafe components telling me nothing except my
imagination what these components are doing. </span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-US">Answer for the question need also some examples of code
(e.g. some workarounds in C# with using mapscript_csharp) <br><br>I have this
kind of situation:</span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-US"> <br>I 'm created <a href="http://ASP.NET">ASP.NET</a> application and I'm using
mapscript_csharp dll. <br>Each of browser clients will have its own map object
instance stored in session cache. So each client request is creating new thread
on IIS server. <br><br>So, new client must wait for its map object if mapscript
is just creating map object for other client (other thread), even if server has
many processors? Becouse of Map config file loading its global parser and it is
locked. I Am wrong? <br><br>The same situation after some time. Two clients (two
threads on server) requests for image calling map.draw(). This is unsafe
situation becouse of 'some static data in Imagemap output'?</span></font><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-US"></span></font></p></div><br><br clear="all"><br>
Regards,<br>Adrian Kruk<br>