lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] do_writemore: invalid length! assertion


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:
[..]
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




reply via email to

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