[mapguide-trac] #1601: MgLayer constructor is not thread safe

MapGuide Open Source trac_mapguide at osgeo.org
Tue Feb 15 18:49:35 EST 2011


#1601: MgLayer constructor is not thread safe
---------------------------+------------------------------------------------
   Reporter:  trevorwekel  |       Owner:       
       Type:  defect       |      Status:  new  
   Priority:  high         |   Milestone:  2.2  
  Component:  Web API      |     Version:  2.2.0
   Severity:  critical     |    Keywords:       
External_id:               |  
---------------------------+------------------------------------------------

Comment(by trevorwekel):

 The following variable in
 http://trac.osgeo.org/mapguide/browser/trunk/MgDev/Common/MdfParser/IOUtil.cpp?rev=29
 is not thread safe.  A workaround patch is attached.  The more correct fix
 is to rewrite the tabcount logic.
 {{{
 int tabcount = 0;
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/1601#comment:1>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list