[zeromq-dev] zmq_close() has no effect after fork()

Pieter Hintjens ph at imatix.com
Thu Oct 11 11:04:16 CEST 2012

On Wed, Oct 10, 2012 at 5:52 PM, John Khvatov <ivaxer at gmail.com> wrote:

> Yep. But ZMQ does not allow to call zmq_close()/zmq_term() in child process. It is wrong...

Why not create the context in the forked process where you need it.
I.e. after forking, not before.


More information about the zeromq-dev mailing list