3 ms·
It's also not practical for many scenarios. Signals in python can only be received by the main thread, and since that's what multiprocessing uses for communicat
by apu 17y ago
It's also not practical for many scenarios. Signals in python can only be received by the main thread, and since that's what multiprocessing uses for communication, it means many common scenarios are out: GUI programs where the main thread is the rendering loop, network programs where the main thread is the connection handler, etc.
I've had much more luck using Python Remote Objects: http://pyro.sourceforge.net/ http://pyro.sourceforge.net/
It's trivial to make a network queue and use that for communication across different processes/machines/etc.