lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #1902] Timeouts and semaphores/mailboxes are too tight


From: Jonathan Larmour
Subject: [lwip-devel] [bug #1902] Timeouts and semaphores/mailboxes are too tightly integrated
Date: Fri, 27 Apr 2007 00:39:36 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20051202 Fedora/1.5-0.fc4 Firefox/1.5

Follow-up Comment #19, bug #1902 (project lwip):

Agreed on pretty much everything. I'm not sure you need OS specific constants
for "wait infinite" and "poll" though - instead give the functions different
names, and if the port wants to map that to the same underlying function with
special arguments, then it can do that with a #define.

As for 16-bit vs 32-bit timers. If we have a SYS_ARCH_MAX_JIFFIES, then I
think we have the tools to deal with frequent wraparound. Maybe we could
insist on 32-bit timers, but I'm aware that many hardware timers are 16-bit
only. As I said we can worry about the specific implementation some other
time (or if there's no demand, I guess never!).



    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?1902>

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





reply via email to

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