lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #19347] netif_add & tcpip_init problem


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #19347] netif_add & tcpip_init problem
Date: Fri, 20 Apr 2007 18:37:45 +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 #35, bug #19347 (project lwip):

Any comments on patch file #12404 (automatically starting/stopping the dhcp
timers on dhcp_start/stop())?

On the one hand, it saves us the starting the timer ourselves and saves us
from a running timer if there's no netif with dhcp. On the other hand,
dhcp_start must be called from tcpip_thread(), so can't be called when
initializing the stack (either before OS is started or from another thread).
Or you have to use netifapi_dhcp_start()/stop().

I think this would be a good patch (combined with a define-switch included in
opt.h and a good documentation in a new file called multithreading.txt :)

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

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