Re: Ravenscar - program termination
- From: Markus E Leypold <development-2006-8ecbb5cc8aREMOVETHIS@xxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 30 Jan 2007 10:37:20 +0100
Maciej Sobczak <no.spam@xxxxxxxxxxx> writes:
Ludovic Brenta wrote:
Do I understand correctly that Ravenscar programs are by definitionYes, it is my understanding as well, and I'm happy with that.
running forever? What about programs that are expected to finish?
I remember being impressed with Ada because you could write an
infinite loop without a faked up condition. The idea being that in
Ada the typical infinite loop would normally be terminated by
detonation. -- Larry Wall
:-)
The Ravenscar profile is specifically targeted at high-integrity
systems, where infinite loops are, I think, the norm.
Sorry, but I don't see anything in the concept of high-integrity
software that would make it a norm. High-integrity software is a set
of quality objectives, whereas infinite loops are (or aren't) part of
system requirements. These should stay independent, even though I
understand that expectations for both often come in pairs.
OK, just nit-picking. ;-)
I wanted to be sure that I understand it correctly, thanks.
Still, it looks like I cannot say:
pragma Profile(Ravenscar);
in my Hello World program even though this program meets the
objectives of the profile. That's not fair! :-)
Well, it terminates. What does termination mean in a "high integrity"
embedded system -- does the hardware go away? :-). I think if someone
wants to shutdown such a system the thing happening is, that every
task goes into idle mode and the last thing a controlling task does,
is, to display (or otherwise indicate) "you may now shut off power,
the countdown to eject the warp core has been stopped" or something
like this.
:-)
Regards -- Markus
.
- Follow-Ups:
- Re: Ravenscar - program termination
- From: Maciej Sobczak
- Re: Ravenscar - program termination
- From: Jeffrey R. Carter
- Re: Ravenscar - program termination
- References:
- Ravenscar - program termination
- From: Maciej Sobczak
- Re: Ravenscar - program termination
- From: Ludovic Brenta
- Re: Ravenscar - program termination
- From: Maciej Sobczak
- Ravenscar - program termination
- Prev by Date: Re: How come Ada isn't more popular?
- Next by Date: Re: Wasteful internationalization (Was: Structured exception information)
- Previous by thread: Re: Ravenscar - program termination
- Next by thread: Re: Ravenscar - program termination
- Index(es):
Relevant Pages
|