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: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: non-preemptive tasking on GNAT 2020 Windows 10 multicore AMD Date: Sun, 13 Jun 2021 15:16:26 +0200 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: <1d798609-8b73-4bc6-b74f-e435e8af8fedn@googlegroups.com> <26182d75-4a84-47d2-b151-bbcb01964fabn@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sun, 13 Jun 2021 13:16:28 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="b0f14bfd370aff219d898e2b43b28ef1"; logging-data="13669"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+pw4CihkaewRAaS4sgy49ZCdnhIaP5TeA=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 Cancel-Lock: sha1:7B+W3XuVjlDfJEgT9jKYmOnCDYc= In-Reply-To: <26182d75-4a84-47d2-b151-bbcb01964fabn@googlegroups.com> Content-Language: en-US Xref: reader02.eternal-september.org comp.lang.ada:62216 List-Id: On 6/13/21 2:06 PM, Dan Winslow wrote: > > Well. You are confirming that I shouldn't expect the behavior I am looking for? How does linux do in this regard, I could use it if needed. with Xubuntu 21.04 and GNAT 11 I get ~/Code$ ./winslow 8 CPUs one Task one done, x= 1000001 two Task two done, y= 1000001 main done, x 1000001 y 1000001 I get this with or without the scheduling pragma in gnat.adc. -- Jeff Carter "Don't knock masturbation. It's sex with someone I love." Annie Hall 45