lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Help with LwIP Modem


From: Jeff Barlow
Subject: Re: [lwip-users] Help with LwIP Modem
Date: Fri, 8 Jul 2016 10:29:02 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1

On 07/08/2016 05:23 AM, Simon Goldschmidt wrote:
I know what's behind technically, with that question I'd rather meant what's 
the big deal for an OS
to make this difference? It knows about which task is currently running and 
which got runnable,
so it's not a big deal to know it's in interrupt context. From all the embedded 
OSes I've used so far,
FreeRTOS is the only one to make this difference.

And in my view, passing the "fromISR" around up to portions of the code that 
should be independent
of whether run from task or from ISR sometimes makes the code design worse.

I think you will find that ChibiOS does much the same. The reasoning as I understand it is to keep ISR code paths as short as possible to minimize latency in hard real time systems.
--
Later,
Jeff



reply via email to

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