Yeah, but those machines are uncommon enough that the amount of work required doesn't make much sense. Also, even if you *do* have a 4-cpu machine, you would also need a pike program which is using 4+ threads and spending a lot of time in the interpreter...
I firmly beleive that it makes much more sense to make Pike "pure" (ie. no global variables) and then instansiate more than one interpreter in the same process, each with it's own interpreter lock and thread(s).
The only question is weather a "pure" Pike is worth the effort, as most modern operating systems can create a new process fast enough that running a separate process for each interpreter is just as easy.
/ Fredrik (Naranek) Hubinette (Real Build Master)
Previous text:
2004-02-01 12:10: Subject: Re: Default backend and thread backends?
Might make sense on a 4+ CPU machine?
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)