Subj : Re: Threading in JavaScript To : comp.lang.javascript,netscape.public.mozilla.jseng From : "Douglas Crockford" Date : Sat Feb 01 2003 10:56 am > >> I take it that both SpiderMonkey and Rhino only provide a > >> single-threading environment? 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? > > I would like to download multiple files simultaneously, process them > independently, and then independently update separate objects in a page > (e.g. DIVs containing some HTML data stripped out from the downloaded > files). That doesn't require preemption. Make a separate