Lars Ole Pontoppidan wrote:
> [..]
> It seems etharp.c is not written in a thread safe manner, while at the
> same time being accessed by both the tcpip task in lwIP and the
> application using lwIP. How can this ever be safe?

It can't: your're using lwIP in a wrong way: with multithreading, the raw API 
must not be called from any other thread than the tcpip_thred. When trying to 
send something spontaneously, use tcpip_callback() to get your function 
executed in that thread.


Simon

_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to