Briefly, yes. I think I removed it because it has a lot of
synchronisation inside the Queue object, and since our channels have
their own rendezvous it seems like a bad idea to have layers on layers
of semaphores and locks. The main issue with pipes is that you can
easily hit the maximum limit for open files on your OS if you have a
program with many channels / processes. Also multiprocessing opens a
few of these when it create and runs processes, which we may not need.
Richard Taylor and Tony Heskett showed us how to deal with these
issues and the notes from this discussion are on the wiki:
http://code.google.com/p/python-csp/wiki/UsefulStuff
> And another question: What exactly is the difference between
> Par(p1, p2).start()
> and
> p1.start(); p2.start()
> ?
The first should start both p1 and p2 running in parallel, the second
in sequence (should be the same as Seq(p1, p2).start(). If that isn't
the case then there's a bug.
Thanks,
Sarah
--
Sarah Mount, Senior Lecturer, University of Wolverhampton
website: http://www.snim2.org/
twitter: @snim2