[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: |
Christiaan Simons |
Subject: |
[lwip-devel] [bug #1902] Timeouts and semaphores/mailboxes are too tightly integrated |
Date: |
Tue, 4 Jul 2006 11:45:23 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4 |
Follow-up Comment #1, bug #1902 (project lwip):
A proper portable timer solution would be nice replacement for sys_timout().
sys_timeout() seems to give erratic / random results with the sequential API,
I'm only guessing what's going wrong there. I think we should keep timeouts
for mailboxes for the purpose of polling a mailbox without blocking the
thread.
I've tinkered a SIGALRM based timer as a quick hack into
contrib/ports/unix/proj/minimal/timer.c Maybe this can be turned into a more
portable/generic solution. More ideas?
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?func=detailitem&item_id=1902>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-devel] [bug #1902] Timeouts and semaphores/mailboxes are too tightly integrated,
Christiaan Simons <=