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