lwip-devel
[Top][All Lists]
Advanced

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

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


From: Simon Goldschmidt
Subject: [lwip-devel] [patch #7855] Provide alternative timeout implementation
Date: Mon, 16 Feb 2015 10:02:59 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.111 Safari/537.36

Follow-up Comment #7, 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.

I can't follow that thought. As long as there's a way of telling lwIP how much
time has passed (this could even work by comparing return values of
sys_now()), it doesn't matter if you idle-loop or really sleep.

> Drift can occur on any platform with the "existing" lwIP
> design if SYS_ARCH_TIMEOUT is returned.

Of course. The question is whether that's a problem or not. The only problem I
see is the DHCP lease time, the rest of the timers shouldn't care for (rather
small) drift.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.nongnu.org/




reply via email to

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