Greenlets: where are they now???

Peter Hansen peter at engcorp.com
Mon Sep 13 07:56:56 EDT 2004


David Pokorny wrote:

> "Peter Hansen" <peter at engcorp.com> wrote in message
> news:x6SdnVJ8pp4xC9ncRVn-rQ at powergate.ca...
> 
>>Seriously though, what is the actual problem to which you feel
>>greenlets are a good solution?
> 
> Greenlets are about 90% of a solution (which I've thought hard about) to the
> problem of interrupting an execution after 50 byte-code, while retaining the
> ability to resume the execution (for, say, another 50 byte codes).

Python's regular threads already allow this, so there must be
something more to it.

-Peter



More information about the Python-list mailing list