[zeromq-dev] Signal handling in blocking zmq_recv

Martin Lucina mato at kotelna.sk
Tue Mar 9 19:52:38 CET 2010


chris at chriswongstudio.com said:
> If pthread_sigmask() is used to block any signals from interrupting the I/O thread, how do one unblock a blocked zmq_recv?  What's the alternative if we need to do so?

When would you want to unblock a blocked zmq_recv()? The only time I can
think of doing that legitimately is when the entire application/component
is going away, in which case we want to change the behaviour of zmq_term()
as discussed in my other email.


More information about the zeromq-dev mailing list