comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: Confused About Task Priorities (Ada 83)
Date: 1998/02/26
Date: 1998-02-26T00:00:00+00:00	[thread overview]
Message-ID: <dewar.888547874@merv> (raw)
In-Reply-To: 1998Feb25.230411.14969@nosc.mil


Charles asks about the effect of priorites in Ada 83. You really cannot
say anything very definite about the semantics of a tasking program in
Ada 83. Priorities are only used to indicate urgency of a task, and it
is perfectly valid for example to time slice between different tasks
on the grounds that e.g. you are simulating a multi-processor.

I would say that the behavior you are seeing is odd, but not non-conforming
in Ada 93. If you want predictable scheduling behavior, use an Ada 95
compiler that implements Annex D.





      reply	other threads:[~1998-02-26  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-02-25  0:00 Confused About Task Priorities (Ada 83) Charles H. Sampson
1998-02-26  0:00 ` Robert Dewar [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