lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [task #6683] Document lwIPs thread safety requirements


From: Frédéric Bernon
Subject: [lwip-devel] [task #6683] Document lwIPs thread safety requirements
Date: Mon, 26 Mar 2007 16:45:13 +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 #2, task #6683 (project lwip):

Some others informations to remember: some special functions can also cause
problem with multithread: netif_xxx and dhcp_xxx. These functions used same
variables than tcpip_thread. Some cases: 

- if an "application" thread remove an netif from list, during tcpip_thread
is running, so, you can get a crash. Adding two netif in the same time can
cause to lost one of interface (https://savannah.nongnu.org/bugs/?19347).

- if an "application" thread stop dhcp on an interface, because the netif's
dhcp field can be used by dhcp's timers (runnning in tcpip_thread context),
you can get a crash (https://savannah.nongnu.org/patch/?5798).




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?6683>

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





reply via email to

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