[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #52748] the bug in timeouts.c

From: Simon Goldschmidt
Subject: [lwip-devel] [bug #52748] the bug in timeouts.c
Date: Fri, 5 Jan 2018 15:01:27 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36

Follow-up Comment #7, bug #52748 (project lwip):

Hmm, I don't know if calling sys_now() in every loop is a good thing to do:
this way, a too short timer can keep us in this tight loop forever. What do we
gain? Timers are allowed to jitter, the only thing we have to watch out for is
that cyclic timers must stay accurate (i.e. next timeout = last timeout +
period, not now + period).


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]