[Top][All Lists]

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

Re: [lwip-users] tcpip_thread shouldn't block

From: address@hidden
Subject: Re: [lwip-users] tcpip_thread shouldn't block
Date: Thu, 16 Jul 2009 15:55:08 +0200
User-agent: Thunderbird (Macintosh/20090605)

gregoryhouse wrote:

When using RAW API we can't execute a blocking code in callback functions. But 
what does it mean exactly? Can I, for example, execute code that writes data to 
external eeprom and then waits 10ms (this will block tcpip_thread for that 

Not blocking the tcpip_thread is needed to guarantee a specific response time. If it's no problem for your application to delay all received/transmitted packets by 10ms, then you can do the call.

The stack itself does not care about the delay very much, what will happen is that timers might be executed a little later, but as long as thats < around 100ms, you probably won't notice it.


reply via email to

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