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: Dirk Ziegelmeier
Subject: [lwip-devel] [bug #52748] the bug in timeouts.c
Date: Fri, 5 Jan 2018 02:59:45 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0

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

I rewrote the timer implementation to fix and simplify it by using absolute
timer expiration values.
This also mostly obsoletes patch #9533.

The function sys_restart_timeouts() is now empty - due to absolute expiration
values, the timers will all fire just once. The previous implementation would
have fired timers several times due to the time difference diff handling (if
sys_restart_timeouts() is not called after long sleep times).

Request for comments :-)

Calling PBUF_CHECK_FREE_OOSEQ() when no timers are active will be implemented
soon.

(file #42843)
    _______________________________________________________

Additional Item Attachment:

File name: absolute_timeouts.patch        Size:4 KB


    _______________________________________________________

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]