> Sat Oct 31 2009 03:56:12 PM EDT from IGnatius T Foobar @ Uncensored >Subject: Re: Spider Monkey > > It uses it for everything, but it's optional for a single-threaded >parser? >How's that? > >Are there any other JS parsers out there that we should be looking at? >Perhaps the KDE or GNOME projects have their own? > >I really don't want to add too many external dependencies, and I *really* >don't want to rewrite our server core. > > > > > >
When in a single thread it doesn't use the NSPR since theres little or nothing to worry about but in a multithreaded environment it makes use of the NSPR for just about everything to ensure that locks and atomic operations etc are obeyed.