On Fri, Feb 07, 2003 at 05:49:35PM +0100, Leopold Toetsch wrote:

> I don't know yet, how multi threading will be done. But when multiple 
> interpreters share the ->code data member (as newinterp/runinterp) do, 
> then they will use the same JIT/prederef or whatever data.

You can't do that for prederef in a multi-threaded process because prederef
stores the address of the registers in the interpreter structure in the
prederef data.

        case PARROT_ARG_I:
            pc_prederef[i] = (void *)&interpreter->ctx.int_reg.registers[pc[i]];

-- 
Jason

Reply via email to