[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: |
Jonathan Larmour |
Subject: |
[lwip-devel] [bug #1902] Timeouts and semaphores/mailboxes are too tightly integrated |
Date: |
Wed, 11 Apr 2007 14:43:26 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.10) Gecko/20070223 Fedora/1.5.0.10-1.fc5 Firefox/1.5.0.10 |
Follow-up Comment #14, bug #1902 (project lwip):
>>I think you have to assume the OS clock is accurate - what else can you
do!
>OK, but hooking on the timer tick still can make porting a hard thing
I wasn't intending to imply a timer hook is better. Polling the current time
is far more portable.
The reason I mentioned lwip_select, is because that calls
sys_sem_wait_timeout, which works in terms of lwip timeouts as set by
sys_timeout().
So users who have their own timeouts using the lwip infrastructure (e.g.
Dmitri), would want that to continue to work, and wouldn't want that support
removed. Maybe we should just remove it anyway and make them change, so long
as that's a conscious decision.
Alternatively we keep the functions for users, but don't use them inside the
stack itself.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?1902>
_______________________________________________
Message sent via/by 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 <=
- [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, 2007/04/27