All, >> 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?
The blocked zmq_recv seems to be the crux of the problem. > 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. I agree that most of the time, you would be exiting the application. But, you might want to trigger clean up actions of various sorts, before exiting. Brian -- Brian E. Granger, Ph.D. Assistant Professor of Physics Cal Poly State University, San Luis Obispo [email protected] [email protected] _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
