lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [patch #5960] Enable multithread send/recv operations on sa


From: Frédéric Bernon
Subject: [lwip-devel] [patch #5960] Enable multithread send/recv operations on same socket on TCP netconns
Date: Tue, 29 May 2007 13:11:56 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3

Follow-up Comment #39, patch #5960 (project lwip):

About comment#36, of course, I can (I have some others differences with
current CVS I don't check in). But I don't share your point of view that is
"a partial solution to a rare problem" : full duplex protocols are pretty
common (perhaps only in my domain of activity?), and I thought it could help
some others users... But ok if you prefer to don't check in that...

About comment#38, "Although at least conn->err is set in api_lib.c"  I think
it's true, but only to the next netconn_write call. To be sure, we could
remove in netconn_write "conn->err = ERR_OK;" and replace the "while"
condition by :

"while (((conn->err==ERR_OK)||(conn->err==ERR_MEM)) && size > 0) {"

    


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?5960>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.nongnu.org/





reply via email to

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