comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: Ravenscar - release multiple tasks when an event occurs
Date: Sun, 3 May 2020 17:13:24 +0200
Date: 2020-05-03T17:13:24+02:00	[thread overview]
Message-ID: <r8mn2k$j16$1@dont-email.me> (raw)
In-Reply-To: <lyzhapfgdr.fsf@pushface.org>

On 5/3/20 12:43 PM, Simon Wright wrote:
> I have several sensor tasks (in general, 2 at the moment) which will of
> course be created and start execution during elaboration.
> 
> I'd like to ensure that they don't actually start reading and reporting
> input data until the system is in a state to receive them.

1. Have 2 POs, 1 per task
2. Have 1 PO with a function that indicates when the tasks may begin. The tasks 
poll the function until then
3. Use the Jorvik profile, as you mentioned
4. Don't try to prove anything about the concurrency of the system and use Ada's 
full tasking

-- 
Jeff Carter
"To Err is human, to really screw up, you need C++!"
Stéphane Richard
63

  parent reply	other threads:[~2020-05-03 15:13 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-03 10:43 Ravenscar - release multiple tasks when an event occurs Simon Wright
2020-05-03 11:50 ` Niklas Holsti
2020-05-05 16:02   ` Simon Wright
2020-05-05 16:16     ` Niklas Holsti
2020-05-03 14:45 ` Jere
2020-05-05 16:05   ` Simon Wright
2020-05-03 15:09 ` J-P. Rosen
2020-05-05 16:11   ` Simon Wright
2020-05-05 17:02     ` Niklas Holsti
2020-05-03 15:13 ` Jeffrey R. Carter [this message]
2020-05-05 16:12   ` Simon Wright
2020-05-05 16:22 ` Simon Wright
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox