comp.lang.ada
 help / color / mirror / Atom feed
From: AdaMagica <christ-usch.grein@t-online.de>
Subject: Re: assigning priority to task
Date: Wed, 24 Sep 2014 04:17:49 -0700 (PDT)
Date: 2014-09-24T04:17:49-07:00	[thread overview]
Message-ID: <00ba137c-cc71-4f7f-8c39-740c6981c992@googlegroups.com> (raw)
In-Reply-To: <c312fba6-c16b-442a-99fc-f725b1d7b8f6@googlegroups.com>

Basically, priorities have only effect on tasks contending for the processor.

Ada 83 RM says someting like: If two tasks are runnable at the same time on a processor, it cannot be the case that the lower priority task executes while the higher one does not... Priorities should only be used for fine-tuning.

Since then, this basic rule has not changed, but has been modified by the presence of multiprocessors.

So be careful.


  parent reply	other threads:[~2014-09-24 11:17 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-24  1:50 assigning priority to task Stribor40
2014-09-24  3:31 ` Jeffrey Carter
2014-09-24  3:36   ` Stribor40
2014-09-24  5:28     ` Jeffrey Carter
2014-09-24 10:09       ` Stribor40
2014-09-24 19:36         ` Simon Wright
2014-09-24  3:39   ` Stribor40
2014-09-24  5:32     ` Jeffrey Carter
2014-09-24 16:01     ` Anh Vo
2014-09-24 11:17 ` AdaMagica [this message]
2014-09-24 13:17   ` Stribor40
2014-09-24 14:55     ` Björn Lundin
replies disabled

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