Subj : Re: Threading in JavaScript To : comp.lang.javascript,netscape.public.mozilla.jseng From : Gordan Date : Sun Feb 02 2003 01:01 am Douglas Crockford wrote: >> >> 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