[Top][All Lists]

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

[lwip-devel] [patch #7855] Provide alternative timeout implementation

From: chrysn
Subject: [lwip-devel] [patch #7855] Provide alternative timeout implementation
Date: Sun, 15 Feb 2015 10:01:00 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/601.1 (KHTML, like Gecko) Version/8.0 Safari/601.1 Debian/unstable (3.14.1-1) Epiphany/3.14.1

Follow-up Comment #5, patch #7855 (project lwip):

going back to cyclic timers would make it harder to run lwip in setups where
sleep is actually spent in hardware sleep with a configured interrupt.

how about having an additional sys_timeout_continue function, which would
schedule the next timeout relative to when the currently handled one should
have happened? this would make adding stable cyclic timers easy, and
alternative sys_timeout implementations could still decide not to implement it
(ie. alias it to sys_timeout) if they can't provide for drift-free time
keeping anyway.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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