Linda in Python
Posted 26 Feb 2004 by herman
A very simple Linda implemented in Python.
We'll experiment with some ideas of Linda using Python. Here
is the module I've developed for demonstration: Linda.py
is a non-networked, non-threading implementation, and a program to
test it is: testLinda.py. This implementation is not
useful because without networked concurrency or threads, any "in"
operation not finding a tuple would block forever. We can use this
implementation as a starting point for further development.
I've upgraded Linda.py and
testLinda.py to also
supply a version using threads. This will
be demonstrated in class.
|