On 11/11/2013 12:55 AM, Samuele Carli wrote:
> On 11/10/2013 09:12 PM, Bruno D. Rodrigues wrote:
>> I'm unable to test this but as I see a sleep 0.5 and a constant delay
>> increase of 1sec I'd suggest the receiver to instead of sleeping a
>> fixed time, to poll, with a timeout value until the next tick. That
>> way if the receive and your code takes 0.75s, the poll can Sleep only
>> Up to 0.25s, but more importamtly, consume the Messages already on the
>> air.
>>
> 

Ah sorry I forgot to mention, the log I pasted was recorded using a receiver 
delay of 1 second instead of 0.5 as shown in the code snippet, as you correctly 
noticed! Sorry for the confusion.

Cheers,
Sam
-- 
|--
| Samuele Carli
|--
| Contacts:
|
|       Home page   : www.csspace.net
|       E-mail      : carlisamuele _at_ csspace.net
|       Icq         : 60401601
|       Skype       : wohthan
|       jabber/gtalk: [email protected] (no emails here!)
|--
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to