[pypy-dev] Why is there a separate ExecutionContext?

Armin Rigo arigo at tunes.org
Thu Mar 6 07:59:21 CET 2003


On Thu, Mar 06, 2003 at 01:52:18AM -0500, logistix wrote:
> > Actually, in the interest of generality, I'd argue that
> > ExecutionContexts 
> > should not contain a link to the object space - it should be 
> > a per frame value.

> I would disagree with this.  It looks like ExecutionContexts are
> analogous to threads, so different ec's in the same object space could
> interact with each other.

I think that you are both right.  Multiple ExecutionContexts can work with the 
same object space (multithreading), and at the same time a single 
ExecutionContext could hold frames crossing object spaces (remote calls).

A bientot,


More information about the Pypy-dev mailing list