lwip-devel
[Top][All Lists]
Advanced

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

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


From: Douglas
Subject: [lwip-devel] [bug #52748] the bug in timeouts.c
Date: Sat, 6 Jan 2018 16:16:45 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0

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

> Returning true when equal is both better for cyclic timers and is what the
old implementation did. I don't see a need to change this. The macro name is
wrong in this case, of course.

Probably best to have a look at the actual uses of this macro. When inserting
a new timeout it now places the new time after others with an equal time, so a
FIFO, which seems good. When checking the timeouts if *returns* when 'now' is
less than the next timeout (so handlers the next timeout if *equal*), and it
seems best not to return if 'now' is equal. etc

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?52748>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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