lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #19345] tcpip_apimsg+api_msg_post problem


From: Frédéric Bernon
Subject: [lwip-devel] [bug #19345] tcpip_apimsg+api_msg_post problem
Date: Tue, 20 Mar 2007 19:44:51 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2

Follow-up Comment #5, bug #19345 (project lwip):

I join a patch to solve the problem, and to improve reliability (and code is
more simple).

"api_lib.c, tcpip.c: integrate sys_mbox_fetch(conn->mbox, NULL) calls from
api_lib.c to tcpip.c's tcpip_apimsg(). Now, use a local variable and not a
dynamic one from memp to send tcpip_msg to tcpip_thread in a synchrone call.
Free tcpip_msg from tcpip_apimsg is not done in tcpip_thread. This give a
faster and more reliable communication between api_lib and tcpip."

Patch file is attached.

If no objection, I will commit it tomorrow...


(file #12223)
    _______________________________________________________

Additional Item Attachment:

File name: tcpip_apimsg.patch             Size:5 KB


    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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