|
From: | address@hidden |
Subject: | Re: [lwip-users] do_writemore: invalid length! assertion |
Date: | Sun, 27 Dec 2009 12:35:28 +0100 |
User-agent: | Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 |
Yoav Nissim wrote:
Unfortunatly, using a socket (or netconn) from multiple threads at the same time is currently not supported by lwIP.[..] 2. Thread A reads data from the socket. 3. Thread B sends data on the socket.
This is the reason why it isn't supported: it would move the stack away from being lightweight, needing more protection mechanisms.[..] If so, wouldn't we need a set of locks for all netconn operations that can happen simultaneously (if there are any)?
Simon
[Prev in Thread] | Current Thread | [Next in Thread] |