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: Atte Kojo
Subject: [lwip-devel] [bug #1902] Timeouts and semaphores/mailboxes are too tightly integrated
Date: Fri, 09 Mar 2007 13:28:43 +0000
User-agent: Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.5 (like Gecko)

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

Dmitry:
> sending a message per each tick is too expensive...

That isn't of course necessary. The timer with smallest interval is the TCP
fast timer with 250 ms resolution and all other timer intervals are multiples
of fast timer interval. Hence 250 ms is the minimum interval between two timer
messages.

Of course all timer processing could be done in the tick hook, but it would
cause all kinds of additional headaches. The timeout list would have to be
protected against concurrent accesses and the time spent in the OS tick
handler would increase.

But, as I said orignally, this is probably too intrusive, unless you want to
start developing version 2 of the stack.

    _______________________________________________________

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]