comp.lang.ada
 help / color / mirror / Atom feed
From: Niklas Holsti <niklas.holsti@nospam.please>
Subject: Re: Ravenscar - program termination
Date: Wed, 31 Jan 2007 10:59:40 +0200
Date: 2007-01-31T10:59:40+02:00	[thread overview]
Message-ID: <45c05907$0$22524$39db0f71@news.song.fi> (raw)
In-Reply-To: <87fy9rty13.fsf@ludovic-brenta.org>

Ludovic Brenta wrote:
> Niklas Holsti writes:
> 
>>If Ravenscar really requires that the main procedure be
>>non-terminating, I'm happy to learn that. From a very formal point
>>of view I guess this requirement means that the kernel need not
>>implement "await for task termination" even in the environment task.
> 
> 
> Indeed, one of Ravenscar's goals is to make the necessary kernel easy
> to certify to the most stringent safety standards.  As with all
> high-integrity software, the best way to achieve this is to make
> things small and simple.  So, not only does Ravenscar avoid the need
> to wait for task termination [snip]...

Yes, but waiting for task termination in a Ravenscar environment task, 
after calling the main procedure, is surely very simple:

    if (there are any tasks in the system) then
       -- The tasks will never terminate.
       loop null; end loop;
    else
       (error because the environment task is terminating)
    end if;

> Ravenscar is beautiful, IMHO.

I agree with that.

-- 
Niklas Holsti
Tidorum Ltd
niklas holsti tidorum fi
       .      @       .



  reply	other threads:[~2007-01-31  8:59 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
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 [this message]
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