From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.182.40.197 with SMTP id z5mr4843757obk.24.1411557470145; Wed, 24 Sep 2014 04:17:50 -0700 (PDT) X-Received: by 10.140.82.48 with SMTP id g45mr17712qgd.9.1411557470043; Wed, 24 Sep 2014 04:17:50 -0700 (PDT) Path: border1.nntp.dca1.giganews.com!nntp.giganews.com!news.glorb.com!a13no2607873igq.0!news-out.google.com!i10ni26qaf.0!nntp.google.com!w8no147957qac.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 24 Sep 2014 04:17:49 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=91.55.224.123; posting-account=rmHyLAoAAADSQmMWJF0a_815Fdd96RDf NNTP-Posting-Host: 91.55.224.123 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <00ba137c-cc71-4f7f-8c39-740c6981c992@googlegroups.com> Subject: Re: assigning priority to task From: AdaMagica Injection-Date: Wed, 24 Sep 2014 11:17:50 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: number.nntp.dca.giganews.com comp.lang.ada:189133 Date: 2014-09-24T04:17:49-07:00 List-Id: 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.