comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: Policies In Ada
Date: 1997/05/08
Date: 1997-05-08T00:00:00+00:00	[thread overview]
Message-ID: <dewar.863063986@merv> (raw)
In-Reply-To: 01bc5b23$8e4375e0$190000c2@Stephen.ers.ie


Stephen Cox says

<<Also, I have implemented two tasks with the same priority i.e. they both
have pragma priority(0); in their declaration yet only the first task seems
to execute. Any ideas?>>

yes, I have an idea. My idea is that your Ada compiler is working exactly
as expected. The required dispatching policy FIFO_Within_PRiorities is
required to run-till-blocked. It is permissible, but certainly not required
that the default dispatching policy behave the same way.

if you are expecting time slicing, then (a) your expectation may simply
not be implemented on the compiler you are using, since it is not required
and (b) your application is significantly non-portable!





  reply	other threads:[~1997-05-08  0:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-05-07  0:00 Policies In Ada Stephen Cox
1997-05-08  0:00 ` Robert Dewar [this message]
1997-05-19  0:00 ` scott
1997-05-20  0:00   ` Samuel A. Mize
1997-05-25  0:00     ` Robert Dewar
replies disabled

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