From: Simon Wright <simon@pushface.org>
Subject: Re: Ravenscar vs selective wait
Date: Tue, 24 Mar 2015 20:12:33 +0000
Date: 2015-03-24T20:12:33+00:00 [thread overview]
Message-ID: <lywq26kvda.fsf@pushface.org> (raw)
In-Reply-To: mera8n$d4t$1@dont-email.me
"J-P. Rosen" <rosen@adalog.fr> writes:
> 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.
AdaCore's 4.9.1 implementation has a task which polls at 10 Hz
(adjustable by recompiling the RTS). The GPL 2014 arm-eabi version uses
magic deep in the System.BB (bare board) tree.
Whichever, it's clear that _something_ has to run every clock tick to
decide whether to invoke one of the timed events; and it seems best to
do it via a Timed_Event if I can get my FreeRTOS implementation to do
so.
prev parent reply other threads:[~2015-03-24 20:12 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
2015-03-24 17:16 ` Jeffrey Carter
2015-03-24 20:12 ` Simon Wright [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox