* Re: Ada and EDF in Win32?
@ 2009-06-19 15:52 7% ` sjw
0 siblings, 0 replies; 1+ results
From: sjw @ 2009-06-19 15:52 UTC (permalink / raw)
On Jun 19, 1:36 am, Günther Wimpassinger <marsianre1...@gmx.net>
wrote:
> I just started learning Ada and try to implement a small tasking example
> (some homework). I would like to use EDF scheduling, but if I try
> "with Ada.Dispatcher.EDF" I get an errormessage during compilation:
> "EDF is not supported in this configuration"
>
> I tried to add "pragma Task_Dispatching_Policy(EDF_Within_Priorities)".
> In the .adb sourcfile and in the "gnat.adc" config file. But this
> does not change anything.
>
> Is EDF only available on systems, where the OS/Environment supports EDF
> or is it possible to use EDF in Ada on standard PC OSs (like GNU/Linux
> or Windows without realtime extensions).
I assume you're using GNAT. The header of a-disdef.ads in GNAT GPL
2009 on Mac OX X (find this in GPS by selecting Help > GNAT Runtime >
Ada 2005 > Ada > Dispatching > EDF) says
-- This unit is not implemented in typical GNAT implementations that
lie on
-- top of operating systems, because it is infeasible to implement in
such
-- environments.
-- If a target environment provides appropriate support for this
package,
-- then the Unimplemented_Unit pragma should be removed from this
spec and
-- an appropriate body provided.
^ permalink raw reply [relevance 7%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2009-06-19 0:36 Ada and EDF in Win32? Günther Wimpassinger
2009-06-19 15:52 7% ` sjw
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox