From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=0.0 required=3.0 tests=BAYES_40,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.5-pre1 X-Received: by 2002:aed:30c1:: with SMTP id 59mr8664131qtf.16.1623512638582; Sat, 12 Jun 2021 08:43:58 -0700 (PDT) X-Received: by 2002:a25:75d6:: with SMTP id q205mr12648434ybc.339.1623512638207; Sat, 12 Jun 2021 08:43:58 -0700 (PDT) Path: eternal-september.org!reader02.eternal-september.org!news.mixmin.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 12 Jun 2021 08:43:57 -0700 (PDT) In-Reply-To: Injection-Info: google-groups.googlegroups.com; posting-host=94.31.98.170; posting-account=rmHyLAoAAADSQmMWJF0a_815Fdd96RDf NNTP-Posting-Host: 94.31.98.170 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: non-preemptive tasking on GNAT 2020 Windows 10 multicore AMD From: AdaMagica Injection-Date: Sat, 12 Jun 2021 15:43:58 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader02.eternal-september.org comp.lang.ada:62196 List-Id: RM 9.2(3/2) does not state in which order the tasks begin to run. They are = activated together, then they are put in the ready queue in some order (the= re is not statement about the order in thr RM in the absence of prios). So = I do not see that One has to run first. Secondly, there is no priority defined, so they both have the same prio. Si= nce there are no dispatching points as far as I can see, I do not understan= d why the running task should be preempted. I had expected the task that is the first in the ready queue runs until it = is done (this is a dispatching point), then the other will get the processo= r. I didn't takeinto account how the pragma changes the default scheduling sch= eme.