Yoav Nissim wrote:
[..]
2. Thread A reads data from the socket.
3. Thread B sends data on the socket.
Unfortunatly, using a socket (or netconn) from multiple threads at the
same time is currently not supported by lwIP.
[..]
If so, wouldn't we need a set of locks for all
netconn operations that can happen simultaneously (if there are any)?
This is the reason why it isn't supported: it would move the stack away
from being lightweight, needing more protection mechanisms.
Simon
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users