Re: Ravenscar - program termination
- From: Niklas Holsti <niklas.holsti@xxxxxxxxxxxxx>
- Date: Tue, 30 Jan 2007 21:15:18 +0200
matteo.bordin@xxxxxxxxx wrote:
[ snip ]
On real-time kernels supporting the Ravenscar profile, even the main procedure must contain an infinite loop.
I don't think that is an Ada requirement. As I understand it, under the Ravenscar profile the environment task is the master of all application tasks, so it will await their termination; since they never terminate, neither does the environment task (RM 2005 10.2(25)), even if the main procedure terminates and returns to the body of the environment task.
I have seen a Ravenscar Ada implementation that requires the main procedure to end with an infinite loop, but I think that is a non-standard requirement. A trivial one, of course.
--
Niklas Holsti
Tidorum Ltd
niklas holsti tidorum fi
. @ .
.
- Follow-Ups:
- Re: Ravenscar - program termination
- From: Robert A Duff
- 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
- Re: Ravenscar - program termination
- From: matteo . bordin
- Ravenscar - program termination
- Prev by Date: Re: Reading Float Data from a binary file into ada
- Next by Date: Re: Reading Float Data from a binary file into ada
- Previous by thread: Re: Ravenscar - program termination
- Next by thread: Re: Ravenscar - program termination
- Index(es):
Relevant Pages
|