Hi Aurelien,

On Mon, Sep 18, 2006 at 10:47:26AM +0200, Aur?lien Camp?as wrote:
> > I have to ask again.  Do you want me to add a hook in the logic objspace
> > that calls schedule() every Nth bytecode instruction?
> 
> Sure. 

See interpreter/test/test_executioncontext.py, or look at how
module/thread/__init__.py adds an action that is called back every Nth
bytecode instruction.


A bientot,

Armin
_______________________________________________
[email protected]
http://codespeak.net/mailman/listinfo/pypy-dev

Reply via email to