[Mapserver-dev] Reentrant flex scanner

Sean Gillies sgillies at frii.com
Thu Jul 8 14:02:20 EDT 2004


On Jul 8, 2004, at 11:26 AM, Steve Lime wrote:

> Hi Folks: I've been a bit of reading, and have discovered that flex can
> (as of when I'm not sure) generate a reentrant and apparently
> thread-safe C scanner. Has anyone used that API? How easy or hard is it
> to port an application that uses non-reentrant scanner?
>
> Steve

Steve, I spent last sunday researching this as well.  Could be as simple
as keeping the parser data in a struct for each thread instead of using
globals, right?

Sean

--
Sean Gillies
sgillies at frii dot com
http://users.frii.com/sgillies




More information about the mapserver-dev mailing list