From: Markus E Leypold <development-2006-8ecbb5cc8aREMOVETHIS@ANDTHATm-e-leypold.de>
Subject: Re: Ravenscar - program termination
Date: Tue, 30 Jan 2007 10:37:20 +0100
Date: 2007-01-30T10:37:20+01:00 [thread overview]
Message-ID: <o4ac00dfe7.fsf@hod.lan.m-e-leypold.de> (raw)
In-Reply-To: epmuf7$ihm$1@cernne03.cern.ch
Maciej Sobczak <no.spam@no.spam.com> writes:
> Ludovic Brenta wrote:
>
>>> Do I understand correctly that Ravenscar programs are by definition
>>> running forever? What about programs that are expected to finish?
>> Yes, it is my understanding as well, and I'm happy with that.
>> 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
next prev parent reply other threads:[~2007-01-30 9:37 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-29 16:34 Ravenscar - program termination Maciej Sobczak
2007-01-29 19:53 ` Ludovic Brenta
2007-01-30 8:09 ` Maciej Sobczak
2007-01-30 9:37 ` Markus E Leypold [this message]
2007-01-30 17:48 ` Jeffrey R. Carter
2007-01-31 9:01 ` Maciej Sobczak
2007-01-31 9:59 ` Ludovic Brenta
2007-01-30 14:24 ` matteo.bordin
2007-01-30 19:15 ` Niklas Holsti
2007-01-30 20:30 ` Robert A Duff
2007-01-31 7:53 ` Niklas Holsti
2007-01-31 8:12 ` Ludovic Brenta
2007-01-31 8:59 ` Niklas Holsti
2007-01-31 18:02 ` Jeffrey R. Carter
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox