Subj : Re: SpiderMonkey and threads To : netscape.public.mozilla.jseng From : Brendan Eich Date : Tue Mar 29 2005 11:59 am Brendan Eich wrote: > You need one context per thread concurrently executing JS. So if you > have a pool of N threads, you could assign M < N contexts to the M > threads that concurrently want to execute. M <= N, of course -- but I was hinting with the < at the likelihood that fewer threads than all the ones you'll have around need to run JS at the same time (concurrently, or even in [truly-hardware-parallel] parallel on SMP systems). /be .