On 06/11/2011 04:24 PM, Fabien Niñoles wrote:
> You mean, if xrecv/xsend return EAGAIN ?  I can't see how could this
> happen with process_command returning 0, but you're probably right, I
> will check it.

What can happen is that new commands arrive, they are processed, but the 
processing doesn't change the status quo -- message still cannot be 
sent/received. In that case the loop is restarted and waiting for new 
commands is initiated. In this case the timeout period should be 
shortened by the time already spent waiting in the previous loop iteration.

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

Reply via email to