comp.lang.ada
 help / color / mirror / Atom feed
From: "J-P. Rosen" <rosen@adalog.fr>
Subject: Re: Ravenscar vs selective wait
Date: Tue, 24 Mar 2015 10:21:10 +0100
Date: 2015-03-24T10:21:10+01:00	[thread overview]
Message-ID: <mera8n$d4t$1@dont-email.me> (raw)
In-Reply-To: <mer3gh$lph$1@dont-email.me>

Le 24/03/2015 08:25, Jeffrey Carter a écrit :
> Seems to me you could do what you originally asked about with 3 tasks and a PO:

I did something like that for a client of mine who is moving an
application to Ravenscar. Sorry, the code belongs to the client, so I
can't post it here.

Some hint however: I have a record containing a PO similar to what Jeff
suggests, and a Timing_Event that unblocks the PO when the delay has
expired. Similarly, the Wait entry has an out parameter to tell whether
it's been awaken by an event or by time-out.

-- 
J-P. Rosen
Adalog
2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX
Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00
http://www.adalog.fr


  reply	other threads:[~2015-03-24  9:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-23 22:00 Ravenscar vs selective wait Simon Wright
2015-03-24  6:48 ` Simon Wright
2015-03-24  7:25   ` Jeffrey Carter
2015-03-24  9:21     ` J-P. Rosen [this message]
2015-03-24 17:16       ` Jeffrey Carter
2015-03-24 20:12       ` 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