Bug#532831: ITP: python-greenlet -- lightweight in-process concurrent programming
Package: wnpp
Severity: wishlist
Owner: William Pitcock <nenolod@dereferenced.org>
* Package name : python-greenlet
Version : 0.2
Upstream Author : Bob Ippolito <bob@redivi.com>
* URL : http://undefined.org/python/#greenlet
* License : MIT
Programming Lang: C
Description : lightweight in-process concurrent programming
The "greenlet" package is a spin-off of Stackless, a version of CPython that
supports micro-threads called "tasklets". Tasklets run pseudo-concurrently
(typically in a single or a few OS-level threads) and are synchronized with
data exchanges on "channels".
.
A "greenlet", on the other hand, is a still more primitive notion of micro-threads
with no implicit scheduling; coroutines, in other words. This is useful when you
want to control exactly when your code runs. You can build custom scheduled
micro-threads on top of greenlet; however, it seems that greenlets are useful on
their own as a way to make advanced control flow structures.
.
Greenlets are provided as a C extension module for the regular unmodified
interpreter.
Reply to: