On Wed, 2005-06-22 at 23:51 -0400, Braden McDaniel wrote: > On Wed, 2005-06-22 at 23:12 -0400, Peter Amstutz wrote: > > > Braden, you're using spirit for OpenVRML, right? > > Used to. I made a URI parser with it. > > > What's your experience been? > > That certain Spirit constructs are not threadsafe at a fundamental > level. That is, two different parser instances used by two different > threads don't work. Not all the time, anyway.
Or I could be full of shit. Reading a bit now, I see that BOOST_SPIRIT_THREADSAFE must be defined to make Spirit threadsafe. I don't think I knew that before. All that aside, Spirit is a pretty damn nifty piece of work. The biggest thing to adjust to when using it is identifying what things will happen in Spirit's "lazy context"--that is, the code that gets run during the parse, rather than before it. -- Braden McDaniel e-mail: <[EMAIL PROTECTED]> <http://endoframe.com> Jabber: <[EMAIL PROTECTED]> _______________________________________________ vos-d mailing list vos-d@interreality.org http://www.interreality.org/cgi-bin/mailman/listinfo/vos-d