On 12/22/2011 01:03 PM, Ivo Danihelka wrote:
On Thu, Dec 22, 2011 at 2:48 PM, Wiliam Souza<[email protected]>  wrote:
[1] http://pastebin.mandriva.com/38061
I don't get the assert on zmq 2.1.4.
The ControllerServer process does not receive any msg for me.
I guess, multiprocessing is not compatible with zmq threads.
The example worked, when I moved the zmq initialization inside run().

I don't know multiprocessing internals. I would avoid mixing it with zeromq.

Ivo,
I changed the code[3] moved all pyzmq related part to run and it works.
I'm looking this examples [4] and it work with multiprocessing but it don't
use Python class.

[3] http://pastebin.mandriva.com/38068
[4] http://taotetek.wordpress.com/2011/02/02/python-multiprocessing-with-zeromq/

Regards,
Wiliam
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to