[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Start DHCP from application thread not tcpip thread
From: |
Simon Goldschmidt |
Subject: |
Re: [lwip-users] Start DHCP from application thread not tcpip thread |
Date: |
Thu, 14 Jun 2012 09:04:09 +0200 |
Fred39 <address@hidden> wrote:
> I tried it by calling the tcpip_callback(dhcp_start(netif_default),0)
> function in my application thread but it did not worked.
Did you even read the answer Marty wrote yesterday? The way you are using
tcpip_callback() suggests a) that you might want to learn a bit about the C
language, as you don't seem to be familiar with function pointers and b) that
your compiler has nearly all warnings turned off if your code compiles like
that.
Again, see other usages of tcpip_callback() throughout the stack for an example
of how this function is used. The two arguments are "function pointer to be
called from within another thread" and "argument passed to this function".
Simon
--
NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!
Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a
- [lwip-users] Start DHCP from application thread not tcpip thread, Fred39, 2012/06/13
- Re: [lwip-users] Start DHCP from application thread not tcpip thread, Simon Goldschmidt, 2012/06/13
- Re: [lwip-users] Start DHCP from application thread not tcpip thread, Fred39, 2012/06/13
- Re: [lwip-users] Start DHCP from application thread not tcpip thread, Pomeroy, Marty, 2012/06/13
- Re: [lwip-users] Start DHCP from application thread not tcpip thread, Fred39, 2012/06/13
- Re: [lwip-users] Start DHCP from application thread not tcpip thread, Pomeroy, Marty, 2012/06/13
- Re: [lwip-users] Start DHCP from application thread not tcpip thread, Fred39, 2012/06/14
- Re: [lwip-users] Start DHCP from application thread not tcpip thread, Simon Goldschmidt, 2012/06/14
- Re: [lwip-users] Start DHCP from application thread not tcpip thread, Fred39, 2012/06/14
- Re: [lwip-users] Start DHCP from application thread not tcpip thread,
Simon Goldschmidt <=
- Re: [lwip-users] Start DHCP from application thread not tcpip thread, Fred39, 2012/06/14
- Re: [lwip-users] Start DHCP from application thread not tcpip thread, Fred39, 2012/06/14