According to the man page of zmq_term, it should be safe to re-enter zmq_term if it previously returned with EINTR. This is actually not true if used with OpenPGM. zmq_term invokes pgm_shutdown which is reading and modifying the static variable pgm_ref_count and will return FALSE on second invocation which makes zmq_term abort with "Assertion failed: false (zmq.cpp:185)". This affects version 2.2 as well as 3.2.
-- Toralf _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
