Opened 20 years ago
Last modified 17 years ago
#763 new enhancement
Update MapServer to use a re-entrant scanner (yylex) — at Initial Version
Reported by: | sdlime | Owned by: | sdlime |
---|---|---|---|
Priority: | high | Milestone: | FUTURE |
Component: | MapServer C Library | Version: | unspecified |
Severity: | minor | Keywords: | |
Cc: |
Description
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.