[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] ppp-new threading question
From: |
Sylvain Rochet |
Subject: |
Re: [lwip-users] ppp-new threading question |
Date: |
Fri, 29 Aug 2014 22:29:17 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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
signature.asc
Description: Digital signature