[pypy-dev] schedule()
Armin Rigo
arigo at tunes.org
Thu Nov 2 17:52:02 CET 2006
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
More information about the pypy-dev
mailing list