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: Simon Goldschmidt
Subject: [lwip-devel] [patch #5960] Enable multithread send/recv operations on same socket on TCP netconns
Date: Wed, 23 May 2007 18:21:23 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3

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

>It could be good, but there is ONE case where it's necessary to let it at
inside "netconn" struct: the connect !!!

I think you got me wrong. I meant to include a sys_sem_t field in struct
api_msg_msg so that all the do_* functions don't post to conn->sem (like
conn->mbox until now) but post to msg->sem instead (same for pend in
tcpip_apimsg()). That way, you are free to set this sem to conn->sem or to
use a per-thread sem and api_lib.c is the only file where to chose (tcpip.c
and api_msg.c would always use this msg.sem).

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

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