On Tue, 2006-10-31 at 12:23 +0100, Amir Bukhari wrote:
> Yes, I have 2 real time task which access the same connection, but one only 
> sends and the second task read and send data.
> 
> This case should not case an assertion, its application problem to handle 
> such case, but TCP/IP stack should not be affected with such or I am wrong
> 
> What can happened if both queue is embty, does lwip will crash?

Your port of lwIP should ensure that there is only one thread in the
lwIP core code at any one time.  lwIP is not thread safe I'm afraid.
The consequences of having two threads concurrently active in the stack
are many and varied, but all bad. 

Kieran



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

Reply via email to