lwip-users
[Top][All Lists]
Advanced

[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



reply via email to

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