Should I use stackless python or threads?
alex23
wuwei23 at gmail.com
Sat Mar 7 01:56:58 EST 2009
On Mar 7, 9:35 am, Minesh Patel <min... at gmail.com> wrote:
> I need to monitor each directory for the latest install, take it and
> go perform some tests on a specific machine. I would like these
> testing tasks to run concurrently for the obvious reasons.
There are two other options to consider:
* greenlet, which has come out of the Stackless project:
http://codespeak.net/py/dist/greenlet.html
* circuits, which comes with an iNotify driver:
http://trac.softcircuit.com.au/circuits/browser/circuits/lib/drivers/inotify_driver.py
Both of these libraries favour concurrency over threading, I believe.
More information about the Python-list
mailing list