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: Wed, 23 May 2007 18:29:31 +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 #19, patch #5960 (project lwip):

Umm, I think I have understand, but there is always the problem for 
"connect". For all others, you could have something like :

do_xxx(msg)
{ /* todo */
  /* ...  */
  sys_sem_signal(msg->sem);
}

But for connect, you leave the context of the "msg" without having any
results (tcpip_thread doesn't block until the connection success or not, of
course :) ).

This is in another "loop" in tcip_thread that the final result will be
signal, by err_tcp, or do_connnected.

The problem is to know which "msg->sem" call in these two functions.

Right for you ?



    _______________________________________________________

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]