[zeromq-dev] Signal handling in blocking zmq_recv

Chris Wong chris at chriswongstudio.com
Tue Mar 9 19:54:15 CET 2010


That's the only case I can think of now also.


On Mar 9, 2010, at 12:52 PM, Martin Lucina wrote:

> Cgris,
> 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.
> -mato
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev

More information about the zeromq-dev mailing list