[mapserver-users] Thread Safety
kelly elton
its.the.doc at gmail.com
Thu Nov 5 14:34:56 PST 2015
To be sure, are you saying I can use a single map object for multiple
threads, or will I need to have one map object per thread? What would you
suggest?
On Thu, Nov 5, 2015 at 5:33 PM Lime, Steve D (MNIT) <Steve.Lime at state.mn.us>
wrote:
> You should be fine. I believe there are locks (mutex) around places where
> this is known to be a problem. I’ve never heard user reports of issues in
> this regard.
>
>
>
> Steve
>
>
>
> *From:* mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] *On
> Behalf Of *kelly elton
> *Sent:* Thursday, November 05, 2015 4:07 PM
> *To:* mapserver-users at lists.osgeo.org
> *Subject:* [mapserver-users] Thread Safety
>
>
>
> Say....if I have two processes using the mapserver dll, are they going to
> conflict?
>
> I'm noticing on the website it says "OGR layers: use unsafe CPL
> services"...In my map file I have 'CONNECTIONTYPE OGR'....what I do with
> the map object is project, and then draw to png, and that's about
> it....this isn't thread safe then? What about if I have multiple map
> objects, one per thread....is that thread safe?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20151105/d5605361/attachment.htm>
More information about the MapServer-users
mailing list