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.45.162 with SMTP id o2mr3144372obm.20.1411523419846; Tue, 23 Sep 2014 18:50:19 -0700 (PDT) X-Received: by 10.182.122.230 with SMTP id lv6mr54528obb.4.1411523419704; Tue, 23 Sep 2014 18:50:19 -0700 (PDT) Path: border1.nntp.dca1.giganews.com!nntp.giganews.com!news.glorb.com!a13no2449522igq.0!news-out.google.com!rp1ni1450igb.0!nntp.google.com!a13no2449516igq.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 23 Sep 2014 18:50:19 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=24.36.114.177; posting-account=Lb5doAoAAAAWHET3z2_nBVbFSXaZQG1V NNTP-Posting-Host: 24.36.114.177 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: assigning priority to task From: Stribor40 Injection-Date: Wed, 24 Sep 2014 01:50:19 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: number.nntp.dca.giganews.com comp.lang.ada:189116 Date: 2014-09-23T18:50:19-07:00 List-Id: I am playing with example from here.. http://www.infres.enst.fr/~pautet/Ada95/e_c26_p2.ada and each run i get different output which is ok but what I am trying to do = is somehow control running of each of those 3 tasks by assigning priority t= o each task by using pragma PRIORITY(some int) where higher the int higher = the priority. So my question is this ....If i assign first task priority(8) and second pr= iority(4) and third priority(2) does that mean that first task will always = run first second second and third third? How does OS time slicing fit into = this when priority is assigned to each task? Thanks