lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [task #7235] Create timeout framework for NO_SYS=1


From: Simon Goldschmidt
Subject: [lwip-devel] [task #7235] Create timeout framework for NO_SYS=1
Date: Mon, 26 Nov 2007 08:04:53 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9

Follow-up Comment #9, task #7235 (project lwip):

Why don't we try to resemble the current API? Implementing the sys_timeout
list like it is now but don't check it inside sys_sem_wait or sys_mbox_fetch
but check it in your function nosys_timers(cur_time)?

The downside would be that more code is required... but it would prevent us
from having two totally different implementations, and user timeouts would
also work.

I think having user timeouts is the biggest benefit of the current solution:
you can receive one UDP packet and use sys_timeout to set a timeout. With the
proposed nosys.c, this won't work.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?7235>

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





reply via email to

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