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 16:11:26 +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 #16, patch #5960 (project lwip):

>In a first step, I propose to replace the conn->mbox by a conn->apisem. Good
for you?

Yes. If we integrate the semaphore to use in one of the messages, we can make
tcpip.c and api_msg.c independent of the type of semaphore (per-conn vs.
per-thread) and can use one or the other depending on a configuration switch.
That way systems not having per-thread storage can use the old mechanism to be
faster while lacking "multithread send/recv operations on same socket on TCP
netconns". (I would make the per-thread the default to keep users from being
confused!)

    _______________________________________________________

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]