[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: |
Fred39 |
Subject: |
Re: [lwip-users] Start DHCP from application thread not tcpip thread |
Date: |
Thu, 14 Jun 2012 00:26:12 -0700 (PDT) |
Sometimes I need a kick in the B... now it works :) thx yeahh and everything
is SAVE
Simon Goldschmidt wrote:
>
> 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 mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/lwip-users
>
>
--
View this message in context:
http://old.nabble.com/Start-DHCP-from-application-thread-not-tcpip-thread-tp34004026p34010211.html
Sent from the lwip-users mailing list archive at Nabble.com.
- Re: [lwip-users] Start DHCP from application thread not tcpip thread, (continued)
- 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, 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,
Fred39 <=