Concurrent Python

Dominic Fox dominic.fox at gmail.com
Fri Feb 11 12:11:28 EST 2005


I've created a few classes to support some concurrent programming
concepts in Python:

AsyncResult represents the state of a process currently running in a
separate thread.
MultiEvent allows listeners to wait for any one of a list of events to
be signalled.
MultiQueue allows listeners to wait for an item to be added to any one
of a list of queues.
DataflowObject can be used to block while waiting for a
single-assignment variable to be bound.

The code can be found here:

http://www.codepoetics.com/code/concurrent.py

Comments and constructive criticism welcome.

regards,
Dominic



More information about the Python-list mailing list