[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #1902] Timeouts and semaphores/mailboxes are too tight
From: |
Simon Goldschmidt |
Subject: |
[lwip-devel] [bug #1902] Timeouts and semaphores/mailboxes are too tightly integrated |
Date: |
Fri, 27 Apr 2007 06:18:10 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3 |
Follow-up Comment #20, bug #1902 (project lwip):
>As I said we can worry about the specific implementation some other time (or
if there's no demand, I guess never!).
I would rather solve this now or insist on 32-bit timers. The problem is that
with 16-bit hardware timers and 10 ms ticks (which is only an example, most
hardware timers have some odd frequency), the maximum wait time
(MAX(s16_t)/100 = max_sec) would be ~330 seconds which is 5 minutes (which
_is_ enough for DHCP but not that far away from it!)...
For user-sleeps, we could chain s16_t sleeps to be long enough. For lwIP
timers, this does not work: since we don't wait for the time-ticks, a
wraparound can always occur.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?1902>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #1902] Timeouts and semaphores/mailboxes are too tightly integrated, Jonathan Larmour, 2007/04/10
- [lwip-devel] [bug #1902] Timeouts and semaphores/mailboxes are too tightly integrated, Simon Goldschmidt, 2007/04/11
- [lwip-devel] [bug #1902] Timeouts and semaphores/mailboxes are too tightly integrated, Kieran Mansley, 2007/04/11
- [lwip-devel] [bug #1902] Timeouts and semaphores/mailboxes are too tightly integrated, Jonathan Larmour, 2007/04/11
- [lwip-devel] [bug #1902] Timeouts and semaphores/mailboxes are too tightly integrated, Simon Goldschmidt, 2007/04/20
- [lwip-devel] [bug #1902] Timeouts and semaphores/mailboxes are too tightly integrated, Jonathan Larmour, 2007/04/20
- [lwip-devel] [bug #1902] Timeouts and semaphores/mailboxes are too tightly integrated, Kieran Mansley, 2007/04/23
- [lwip-devel] [bug #1902] Timeouts and semaphores/mailboxes are too tightly integrated, Simon Goldschmidt, 2007/04/26
- [lwip-devel] [bug #1902] Timeouts and semaphores/mailboxes are too tightly integrated, Jonathan Larmour, 2007/04/26
- [lwip-devel] [bug #1902] Timeouts and semaphores/mailboxes are too tightly integrated,
Simon Goldschmidt <=