Subj : Re: Threading in JavaScript To : Douglas Crockford From : Brendan Eich Date : Thu Feb 06 2003 09:02 am Douglas Crockford wrote: >>Using Java/LiveConnect is precisely what I was trying to avoid... :-( >> >> > >That is most wise. > > > >>I take it that both SpiderMonkey and Rhino only provide a single-threading >>environment? >> The answer to this question is "no" -- both SpiderMonkey and Rhino support multi-threaded embeddings. The DOM implementation in Mozilla is not one of them; nor does any DOM expose threading to script authors. There is no ECMA standard for threads, locking, etc. /be >> And there is no browser that actually supports multi-threaded >>JS? >> >> > >Nope. For applications based on short bursts of event-driven activity, >threading is less efficient and prone to deadlocks. What are you doing that >requires preemption? > >http://www.crockford.com/javascript/javascript.html > > > > .