lwip-members
[Top][All Lists]
Advanced

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

[lwip-members] [patch #8712] Allow custom timing implementation on NO_SY


From: Sylvain Rochet
Subject: [lwip-members] [patch #8712] Allow custom timing implementation on NO_SYS builds
Date: Thu, 10 Sep 2015 19:49:07 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.2.1

Follow-up Comment #1, patch #8712 (project lwip):

Hi,

I don't see the clear advantage of doing that, is the following unacceptable
for you:

while(1) {
  /* get the lowest timeout for lwIP timeouts and yours timeouts */
  uint32_t timeout = MIN(sys_timeouts_sleeptime(),
yours_timeouts_sleeptime());
  select-like-function(......, timeout);
  sys_check_timeouts();   /* run lwIP timeouts */
  yours_check_timeouts(); /* run yours timeouts */
}

Sylvain


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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