lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [patch #8244] make timeouts usable reliably from outside of


From: chrysn
Subject: [lwip-devel] [patch #8244] make timeouts usable reliably from outside of the timeout routine
Date: Thu, 21 Nov 2013 07:58:18 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) Chromium/25.0.1349.2 Chrome/25.0.1349.2 Safari/538.1 Debian/unstable (3.8.2-4) Epiphany/3.8.2

URL:
  <http://savannah.nongnu.org/patch/?8244>

                 Summary: make timeouts usable reliably from outside of the
timeout routine
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: chrysn
            Submitted on: Thu 21 Nov 2013 07:58:17 GMT
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

although timeouts are relative to timeouts_last_time (transitively by
addition to the time values of their predecessors, if there are any),
sys_timeout does not compensate for that; as a result, timeouts fire too
early unless invoked from within a timeout handler (when
timeouts_last_time == now).

note on interaction with patch #7855: i think the relative timestamp approach
is sound by itself and more straightforward, it just needs to be fixed (with
the presented patch).



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu 21 Nov 2013 07:58:18 GMT  Name:
0001-make-timeouts-usable-reliably-from-outside-of-the-ti.patch  Size: 2kB  
By: chrysn

<http://savannah.nongnu.org/patch/download.php?file_id=29682>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?8244>

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




reply via email to

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