Jason Gloudon wrote:
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.
Ouch, yes. So does JIT. So JIT/prederefed code must be separated for threads. leo