[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] using LWIP_PBUF_CUSTOM_DATA together with socket api
From: |
Grant Edwards |
Subject: |
Re: [lwip-users] using LWIP_PBUF_CUSTOM_DATA together with socket api |
Date: |
Sat, 19 Feb 2022 23:16:10 -0000 (UTC) |
User-agent: |
slrn/1.0.3 (Linux) |
On 2022-02-19, Massimiliano Cialdi <cialdi@gmail.com> wrote:
> Okay. Could you give me a suggestion on how I can implement an
> equivalent `select` with in netconn. Keep in mind that I use
> FreeRTOS.
You can use netconn callbacks to wake the relevent thread when a
socket has data to be read. I used a semaphore, but you could use some
other mechanism if you prefer.
--
Grant