Much has been said in the past in IRC about compiling the JS engine for thread safety (although the engine is run in a single thread).
At any rate, since NSPR seems to the common library for threading that Mozilla base projects require, is UOX going to convert it thread usage over to that library? An interesting note on the NSPR page is:
NSPR does not provide a platform for porting existing code. It must be used from the beginning of a software project.
Not sure how applcable this is to UOX using threads and the JS engine, but seems like the natural next step.
NSPR threads?
-
giwo
- Developer
- Posts: 1780
- Joined: Fri Jun 18, 2004 4:17 pm
- Location: California
- Has thanked: 0
- Been thanked: 0
Can honestly say I've never even heard of it.
Moreover, I have yet to delve into the wonders of threading myself, pretty much what little bit of threading UOX3 does have was provided by EviLDeD.
However it certainly is interesting to look at for the future... though I question what they mean by it must be used from the beginning of a software project...
Moreover, I have yet to delve into the wonders of threading myself, pretty much what little bit of threading UOX3 does have was provided by EviLDeD.
However it certainly is interesting to look at for the future... though I question what they mean by it must be used from the beginning of a software project...
Scott