Date: Fri, 29 Aug 2014 22:29:17 +0200
From: Sylvain Rochet <address@hidden>
To: Mailing list for lwIP users <address@hidden>
Subject: Re: [lwip-users] ppp-new threading question
Message-ID: <address@hidden>
Content-Type: text/plain; charset="utf-8"
Hi Ivan,
On Fri, Aug 29, 2014 at 10:16:04AM -0600, Ivan Delamer wrote:
I feel almost embarrassed asking this but I haven't completely
figured it out yet.
In ppp-new, are packets sent to sio_write() from tcpip thread, or
from the RX process thread? Or both?
tcpip thread only.
(The stack owned RX process thread does not exist anymore, this was
broken by design).
I just ask because sio_write() may block for some time (at least in
my basic implementation) and I'm wondering if this is blocking the
rest of the stack.
Yes, it will, sio_write() should not block.
Sylvain