Message149825
> Probably because I'm a threading/multiprocessing neophyte :)
That's a very good reason :-)
Here's a version using two multiprocessing events. Note that I use
timeouts for wait() just to avoid being stuck if something goes wrong:
the test now runs in a dozen ms.
By the way, next time you need a duplex communication between two
processes, you can use socketpair(), which returns a pair of connected
sockets. |
|
Date |
User |
Action |
Args |
2011-12-19 10:03:15 | neologix | set | recipients:
+ neologix, r.david.murray, sdaoden |
2011-12-19 10:03:15 | neologix | link | issue11867 messages |
2011-12-19 10:03:15 | neologix | create | |
|