|Subject:||Re: [lwip-users] PPP as Server Disconnect/Reconnect Problem Under 2.0.0 Beta1|
|Date:||Mon, 23 May 2016 21:42:04 +0200|
|User-agent:||Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2|
Greg Smith wrote:
Coming back to the original post, you must *not* call API functions from tcpip_thread. Maybe this is your problem. I think the callback is called from tcpip_thread, so by blocking on a semaphore effectively blocks the whole stack.
The API functions are meant to get you into the tcpip_thread to call things. If you already *are* in this thread, call 'ppp_listen()' instead.
|[Prev in Thread]||Current Thread||[Next in Thread]|