gonzalo diethelm wrote:

>> No. The other way round. Poll will be signaled every time there's a
>> message to read in the socket.
> 
> Let me be obtuse and offer an example: I will be calling poll on two
> sockets, A and B. Say I call poll and block because there are no pending
> messages; then, A receives 100 messages; poll returns, I notice I can
> read off A and read 5 messages to process them; then I call poll again
> on the same sockets. What you are saying is that this second call to
> poll will return right away, even if no new messages have been received
> after the initial 100 messages, because there are still 95 pending
> messages for A. Is this correct?

Exactly.

Martin


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

Reply via email to