lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] lwIP 1.3.0 PPP, DNS, multithreaded OS issues


From: Jonathan Larmour
Subject: Re: [lwip-users] lwIP 1.3.0 PPP, DNS, multithreaded OS issues
Date: Tue, 29 Apr 2008 16:25:14 +0100
User-agent: Thunderbird 1.5.0.12 (X11/20070530)

Dustin Stahlback wrote:
> I use lwIP with a multithreaded OS.  The threading is as follows:
> 
> PPP thread
> TCPIP thread with DNS enabled
> APPLICATION thread
> 
> 
> When I enable the DNS functionality, the PPP client will never make a
> connection (callback is never called within the PPP thread).
> However, when DNS is disabled, the PPP client runs and operates
> correctly.  Is there any fundamental reason why this would fail such as
> incorrect thread handling.  The only call I see the PPP client make is
> tcpip_callback().

Obviously it could be a bug. Or perhaps you're running out of TCPIP thread
messages. Try enabling the lwIP statistics (LWIP_STATS) and have a look at
the statistics to see if there were any allocation errors.

Jifl
-- 
eCosCentric Limited      http://www.eCosCentric.com/     The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK.       Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.
------["Si fractum non sit, noli id reficere"]------       Opinions==mine




reply via email to

[Prev in Thread] Current Thread [Next in Thread]