lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] LWIP_NETCONN_FULLDUPLEX sys_mbox_free example


From: Simon Goldschmidt
Subject: Re: [lwip-users] LWIP_NETCONN_FULLDUPLEX sys_mbox_free example
Date: Fri, 16 Feb 2018 15:28:11 +0100

Kellar, Christopher wrote:
> Could you please provide an example of what the sys_mbox_free should look 
> like when
> LWIP_NETCONN_FULLDUPLEX = 1 (has to unblock receive tasks waiting on 
> recvmbox/acceptmbox
> and prevent a task pending on this during/after deletion)? I am trying to 
> implement this
> on an STM32 device running FreeRTOS.

Besides DHCPv6, solving this in a general way is one of the last steps to 2.1.0.
See https://savannah.nongnu.org/bugs/?52554

> I am also seeing some failures when I attempt to close the netconn from a 
> third thread.
> The code is hanging inside lwip_netconn_do_delconn  on the sys_sem_signal 
> because either
> the op_completed_sem semaphore variable is corrupted.

That's also covered by the above bug report.

What's your background on this, do you have code that runs this way (e.g. under 
linux) but
fails with lwIP or do you just try to program something full duplex?

> I would really appreciate some assistance.

I don't know when I'll find the time for this, though.

Simon



reply via email to

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