[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: |
Pomeroy, Marty |
Subject: |
Re: [lwip-users] Start DHCP from application thread not tcpip thread |
Date: |
Wed, 13 Jun 2012 07:36:58 -0400 |
> Can i call tcpip_callback() from my application thread ? Is that what
you mean?
Yes, you can and should do that. I use this in my interrupt code:
err_t tmp = tcpip_callback_with_block( s_HandlePhyInterrupt, NULL,
0);
Then s_HandlePhyInterrupt() is called from the tcpip thread.
Other ways to have your callback called from the tcpip thread also work.
Marty
- [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 <=
- 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, 2012/06/14