lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] multithreaded app ...


From: Teratux
Subject: Re: [lwip-users] multithreaded app ...
Date: Mon, 21 Jun 2010 13:04:13 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100423 Thunderbird/3.0.4

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, address@hidden 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
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users




reply via email to

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