Ticket #763 (new enhancement)
Update MapServer to use a re-entrant scanner (yylex)
|Reported by:||sdlime||Owned by:||sdlime|
|Component:||MapServer C Library||Version:||unspecified|
Description (last modified by hobu) (diff)
Recent versions of flex have the ability to create a re-entrant, that is thread-safe scanner. The thought is to embed the scanner structure (in lieu of global vars) in a MapServer object (e.g. scannerObj) and create it when the mapObj is initialized. The scanner would live within a mapObj instance or in our case clone. This means a single mapObj would NOT be thread-safe, but cloned mapObj's would. This is about as good as we're gonna get. Steve
Note: See TracTickets for help on using tickets.