[Twisted-Python] PEP 342 & cooperative threads

Tommi Virtanen tv at twistedmatrix.com
Thu Aug 18 01:58:41 EDT 2005


Antoine Pitrou wrote:
> For what it's worth, I started writing a pure Python cooperative threads
> package, some weeks ago. It's called "softlets" and uses, of course,
> generators. There is a simple scheduler centered around the notion of
> "wait objects" - you yield a wait object (e.g. a Queue) and it comes
> back when the underlying condition is satisfied (e.g. the Queue has
> something to give to you).

You should look at Kamelia.




More information about the Twisted-Python mailing list