Hi,

In zloop, a timer return code "rc" may be overwritten by poller return codes.  
"rc" is set at line 372 but is then overwritten at line 414. 
https://github.com/zeromq/czmq/blob/master/src/zloop.c#L372

I'm not sure of the correct behaviour hence why I haven't submitted a patch. 

Should the pollers be called if a timer returns -1 in the same loop? 
If not, then don't loop over the pollers when "rc != -1"?

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

Reply via email to