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=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 Path: eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: "J-P. Rosen" Newsgroups: comp.lang.ada Subject: Re: non-preemptive tasking on GNAT 2020 Windows 10 multicore AMD Date: Sun, 13 Jun 2021 12:24:28 +0200 Organization: Adalog Message-ID: References: <1d798609-8b73-4bc6-b74f-e435e8af8fedn@googlegroups.com> <3b70ea2b-9783-48a3-999c-55486126ec9dn@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sun, 13 Jun 2021 10:24:27 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="0b3dae7d539ec12881a48f406aa15abc"; logging-data="18051"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18MZ7lox9JeU2AOiQ0LG1WQ" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 Cancel-Lock: sha1:AexSeWVJ6NO6N4P5O7I6vxxEksU= In-Reply-To: <3b70ea2b-9783-48a3-999c-55486126ec9dn@googlegroups.com> Content-Language: fr Xref: reader02.eternal-september.org comp.lang.ada:62213 List-Id: Le 13/06/2021 à 00:21, Dan Winslow a écrit : > So, I am puzzled. Nothing I do makes any different whatsoever in how the little test program runs. Hmmm... Scheduling matters only if you have less CPUs than tasks. If you have two tasks and more than two CPUs, the tasks will effectively run concurrently, and priorities have no effect. -- J-P. Rosen Adalog 2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX Tel: +33 1 45 29 21 52 https://www.adalog.fr