On Thu, Dec 22, 2011 at 1:41 PM, Philip Kovacs <[email protected]> wrote:

> Am I correct that, if the attached thread sends no explicit message,
> the main thread will not see anything on its zmq_pollitem_t, even if
> all masks are set on (ZMQ_POLLIN | ZMQ_POLLOUT | ZMQ_POLLERR) ?

There's no signal and no error on the pipe so presumably that's how it
is. The attached thread has to tell its parent, "bye bye" even if it's
a zero-byte message. I believe I did this in an example simply by
having a blocking recv on the pipe, and exiting when that was done.

-Pieter
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to