Hi,

I've read that:
------------------------------------
* As you may see, flex scanners have become reentrant, the c++ versions
are compatible with recent c++ compilers (conform to ANSI C++, gcc 3.2),
supports bison variables yylval and yylloc. Some variables have been
renamed. Flex generates C99 defs now; see YY_TRADITIONAL_FUNC_DEFS
yylineno is present in all scanners. yylineno is per-buffer in reentrant
scanners. flex tries its best to output only the relevant portions of
the skeleton when generating a scanner, thus avoiding as much
conditional compilation as possible.
------------------------------------
(Flex 2.5.31)

Could this help anyhow to support native-os threads?

	Michal