[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-devel] core/timers.c with NO_SYS?
From: |
Simon Goldschmidt |
Subject: |
Re: [lwip-devel] core/timers.c with NO_SYS? |
Date: |
Tue, 14 Jun 2011 17:49:41 +0200 |
Leon Woestenberg <address@hidden> wrote:
> That's why in an RTOS environment the interrupt handler must not do
> the actual work; it must schedule a thread that takes the appropriate
> lock, not an interrupt disable lock.
>
> Doing work in an interrupt handler is a common design mistake; the
> interrupt handler should only make sure the interrupt is silenced
> until serviced by a thread.
So far in theory. In real life, you are sometimes limited by your hardware and
have no other options but to fetch the packet in the interrupt handler to make
sure you meet the latency requirements.
> I will start a new effort on a proper RTOS layer on top of the raw API.
I'm looking forward to that. Maybe we can still sort this out so that we have a
clean design while still allowing the "unclean"design in situations where it is
needed...
Aside from that, cleaning up the sys.h header file and its usage in the core is
a good task for 1.4.1, I think.
Simon
>
- Re: [lwip-devel] core/timers.c with NO_SYS?, (continued)
- Re: [lwip-devel] core/timers.c with NO_SYS?, Kieran Mansley, 2011/06/12
- Re: [lwip-devel] core/timers.c with NO_SYS?, Leon Woestenberg, 2011/06/12
- Re: [lwip-devel] core/timers.c with NO_SYS?, Kieran Mansley, 2011/06/13
- Re: [lwip-devel] core/timers.c with NO_SYS?, address@hidden, 2011/06/13
- Re: [lwip-devel] core/timers.c with NO_SYS?, Bill Auerbach, 2011/06/13
- Re: [lwip-devel] core/timers.c with NO_SYS?, Leon Woestenberg, 2011/06/13
- Re: [lwip-devel] core/timers.c with NO_SYS?, Leon Woestenberg, 2011/06/13
- Re: [lwip-devel] core/timers.c with NO_SYS?, Simon Goldschmidt, 2011/06/14
- Re: [lwip-devel] core/timers.c with NO_SYS?, Simon Goldschmidt, 2011/06/14
- Re: [lwip-devel] core/timers.c with NO_SYS?, Leon Woestenberg, 2011/06/14
- Re: [lwip-devel] core/timers.c with NO_SYS?,
Simon Goldschmidt <=
- Re: [lwip-devel] core/timers.c with NO_SYS?, Bill Auerbach, 2011/06/14
- Re: [lwip-devel] core/timers.c with NO_SYS?, Leon Woestenberg, 2011/06/14
- Re: [lwip-devel] core/timers.c with NO_SYS?, Simon Goldschmidt, 2011/06/15
- Re: [lwip-devel] core/timers.c with NO_SYS?, address@hidden, 2011/06/13
- Re: [lwip-devel] core/timers.c with NO_SYS?, Bill Auerbach, 2011/06/13