lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #20021] conn->sem is only signaled one-way


From: Frédéric Bernon
Subject: [lwip-devel] [bug #20021] conn->sem is only signaled one-way
Date: Tue, 24 Jul 2007 16:34:31 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.5) Gecko/20070713 Firefox/2.0.0.5

Follow-up Comment #26, bug #20021 (project lwip):

Since the last change, I got a problem with the "close" of a UDP socket with
LWIP_TCPIP_CORE_LOCKING=1 :

Since you have change in netconn_delete (api_lib.c) the code like that :

   msg.function = do_delconn;
   msg.msg.conn = conn;
-  TCPIP_APIMSG(&msg);
+  tcpip_apimsg(&msg);

You shouldn't let in do_delconn(api_msg.c) the TCPIP_APIMSG_ACK, but replace
it by a sys_mbox_post(msg->conn->mbox, NULL). Else, of course, the
application thread stay blocked on do_delconn...

Right?

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?20021>

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





reply via email to

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