Umm, and what about using mutexes to protect de netconn resource ?? I tried it but haven't been able to determine if it's the cause of my breaks ...

On 06/21/10 16:54, goldsi...@gmx.de wrote:
Teratux wrote:
I'm having trouble setting up a two threaded application that reads and
writes from an ethernet port.  Is there any problem with setting up
something like this?? Is lwip prepared to share resources like the
netconn* struct and is it able to read and write at the same time (
ideally ) ??
Unfortunately, it's not. Sockets or netconns may only be used from one thread at a time.

Simon

_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/lwip-users


_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to