lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [task #7213] Add a lwip_init function


From: Frédéric Bernon
Subject: [lwip-devel] [task #7213] Add a lwip_init function
Date: Mon, 20 Aug 2007 13:58:00 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6

Follow-up Comment #10, task #7213 (project lwip):

>When I use tcpip_init, I implement something just like I posted in the Wiki:


I think the "Set up the MAC address" part should be done in the
device_driver_init() function of the driver, and not at this level.

>When I made that comment earlier, I had imagined that lwip_init would do all
that semaphore stuff and make its own tcpip_init_done function. But, I didn't
think that there could be other possibilities for tcpip_init's initfunc. 

I'm agree that the semaphore stuff could be done in tcpip_init to got a
synchrone call after which we can be sure the stack is initialized. But the
other aim of the init_func parameter is to provide a "place" to do some job in
the tcpip_thread's context  just after most of initializations...


    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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