On Sat, 2004-01-03 at 17:24, Matt Fowles wrote:

> I have a naive question:
> 
> Why must each thread have its own interpreter?

~handwavy, high-level answer~

For the same reason each thread in C, for example, needs its own stack
pointer.

Since Parrot's a register machine, each thread needs its own set of
registers so it can go off and do its own thing without whomping all
over the other threads.  Those registers live in each interpreter.

-- c

Reply via email to