Re: Disobeying jet engines - why?
- From: John Larkin <jjlarkin@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 25 Jan 2008 11:46:24 -0800
On Fri, 25 Jan 2008 15:38:15 +0000, Martin Brown
<|||newspam|||@nezumi.demon.co.uk> wrote:
I do embedded realtime apps that have no OS. I've written a few
RTOS's, but haven't needed to use one in a long time.
If the code is...
START: do thing1
do thing2
do thing3
goto START
where is the OS?
The OS is the bit that should step in when one of thing1, thing2 or
thing3 fails to complete. Most non-trivial embedded applications have
some kind of RT kernel underpinning the allocation of resources.
I doubt it. You can do arbitrarily non-trivial apps with just state
machines running in a loop. The only RTOS would then be a hardware
watchdog timer.
The code blocks can themselves use whatever resources they want,
assuming they are neither hostile nor stupid. The rare
allocation-of-resources situation can be handled by code blocks
locking out interrupts, or with simple flags.
If ever you assign a programmer to do a deep-embedded app, and he says
"first, we'll have to write/buy an rtos", fire him instantly.
John
.
- Follow-Ups:
- Re: Disobeying jet engines - why?
- From: Terry Given
- Re: Disobeying jet engines - why?
- From: Rich Webb
- Re: Disobeying jet engines - why?
- References:
- Disobeying jet engines - why?
- From: Didi
- Re: Disobeying jet engines - why?
- From: Damon Hill
- Re: Disobeying jet engines - why?
- From: John Larkin
- Re: Disobeying jet engines - why?
- From: Glen Walpert
- Re: Disobeying jet engines - why?
- From: John Larkin
- Re: Disobeying jet engines - why?
- From: Martin Brown
- Disobeying jet engines - why?
- Prev by Date: Re: pic operated roach motel
- Next by Date: 1 IC prototype board
- Previous by thread: Re: Disobeying jet engines - why?
- Next by thread: Re: Disobeying jet engines - why?
- Index(es):
Relevant Pages
|