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_20,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.5-pre1 X-Received: by 2002:a05:620a:1f7:: with SMTP id x23mr19403038qkn.160.1623717670219; Mon, 14 Jun 2021 17:41:10 -0700 (PDT) X-Received: by 2002:a5b:58e:: with SMTP id l14mr29573954ybp.303.1623717670043; Mon, 14 Jun 2021 17:41:10 -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: Mon, 14 Jun 2021 17:41:09 -0700 (PDT) In-Reply-To: Injection-Info: google-groups.googlegroups.com; posting-host=174.71.119.33; posting-account=ix5KpAoAAAD9zo_4u1FxHVmn1uZn7U_d NNTP-Posting-Host: 174.71.119.33 References: <1d798609-8b73-4bc6-b74f-e435e8af8fedn@googlegroups.com> <26182d75-4a84-47d2-b151-bbcb01964fabn@googlegroups.com> <14166772-2507-4953-8843-57fe35b0f6fbn@googlegroups.com> <5470ede9-7036-4af7-8087-6dc8ff8f9ca0n@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: non-preemptive tasking on GNAT 2020 Windows 10 multicore AMD From: Dan Winslow Injection-Date: Tue, 15 Jun 2021 00:41:10 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader02.eternal-september.org comp.lang.ada:62229 List-Id: On Sunday, June 13, 2021 at 12:44:10 PM UTC-5, Jeffrey R. Carter wrote: > On 6/13/21 6:46 PM, Dan Winslow wrote:=20 > >=20 > > Odd that it doesn't require the gnat.adc pragma though. I suppose linux= is counting on delay statements or other sync points to swap. For what I n= eed, that's perfect. > I'm surprised the tasks don't swap when one does I/O. > --=20 > Jeff Carter=20 > "Don't knock masturbation. It's sex with someone I love."=20 > Annie Hall=20 > 45 I thought about that too. Blocked IO in this case is unlikely, but a thread= put to sleep waiting on IO completion I can certainly see being swapped. S= till, if Annex D is strictly respected it shouldn't...I'm starting to wonde= r what OS actually does fully implement Annex D.