Hi Devs,

I wonder what is the internal behaviour of libzmq when a blocking zmq_poll is used ws thread activation:

int rc = zmq_poll (items, 2, -1);

Does the libzmq internal I/O thread awake the user's thread only when the poll has received an event ? Or are the user's thread that blocks on a poll awaken cyclically to make their own check ? Let's ask it an other way: does zmq_poll delegates its own polling to the libzmq I/O thread ?

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

Reply via email to