OUR NETWORK:TiVo Community TechLore Explore3DTV DVRplayground Dijit Community See all... About UsAdvertiseContact Us

Mozilla JavaScript Engine JSRuntime Now Single-threaded

From the Read Carefully dept.:
...A single SpiderMonkey runtime (that is, instance of JSRuntime) ??? and all the objects, strings and contexts associated with it ??? may only be accessed by a single thread at any given time. However, a SpiderMonkey embedding may create multiple runtimes in the same process (each of which may be accessed by a different thread).

That means it is up to the embedding to provide communication (if any) between the runtimes via JSNative or other SpiderMonkey hooks. One working example is the new implementation of web workers in Firefox which uses a runtime per worker. Niko Matsakis is experimenting with a different architecture in his new parallel JS project.

Read More In: News, Rumors and Gossip

OSDir brings you the latest news on "all things open."


Featured Article

How to Configure Windows Network Browsing in Tomato on NETGEAR WNR3500L

by Brandon C on October 22, 2010 1:15 PM

With Windows, browsing computers in the network can take a long time with serious delays before getting the computer lists. This especially happens in environments where there is not a server available which most of us have in our home scenarios. If not aware of it the TomatoUSB firmware can... More »

Topics: WNR3500L Tomato

Add Your Reply

(will not be displayed)

Email me when comments are added to this thread

 
 

Please log in or register to participate in this community!

Log In

Remember

Not a member? Sign up!

Did you forget your password?

You can also log in using OpenID.

close this window
close this window