[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #23835] Bug in PPP.(Using sys_msleep() in pppOverSeria
From: |
Frédéric Bernon |
Subject: |
[lwip-devel] [bug #23835] Bug in PPP.(Using sys_msleep() in pppOverSerialOpen()) |
Date: |
Sun, 13 Jul 2008 13:20:39 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 6.0; fr; rv:1.8.1.15) Gecko/20080623 Firefox/2.0.0.15 |
Follow-up Comment #1, bug #23835 (project lwip):
sys_arch.txt says about "sys_arch_timeouts" : "...This function is called by
the lwIP timeout scheduler and must not return a NULL value."
So, even if the function which call directly or indirectly
"sys_arch_timeouts" is not created by "sys_thread_new", you have a provide a
valid return to this call. In fact, "sys_thread_new" is just here to provide a
system-independant call for lwIP core.
If the "sys_arch_timeouts" implementation in your port returns NULL for
thread which are not created by "sys_thread_new" - which is the bug to my
point of view - you should fix it, or call pppOverSerialOpen from a "lwip"
thread.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?23835>
_______________________________________________
Message posté via/par Savannah
http://savannah.nongnu.org/