[pypy-dev] schedule()

Alexandre Fayolle alexandre.fayolle at logilab.fr
Thu Nov 2 21:34:28 CET 2006

On Thu, Nov 02, 2006 at 05:52:02PM +0100, Armin Rigo wrote:
> 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.

Great !

Thanks a lot, Armin. 

Alexandre Fayolle                              LOGILAB, Paris (France)
Formations Python, Zope, Plone, Debian:  http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
Informatique scientifique:               http://www.logilab.fr/science
Reprise et maintenance de sites CPS:     http://www.migration-cms.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 481 bytes
Desc: Digital signature
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20061102/c481b9e1/attachment.pgp>

More information about the Pypy-dev mailing list