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!news.uzoreto.com!news-out.netnews.com!news.alt.net!fdc2.netnews.com!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Sun, 13 Jun 2021 21:09:34 -0500 From: Dennis Lee Bieber Newsgroups: comp.lang.ada Subject: Re: non-preemptive tasking on GNAT 2020 Windows 10 multicore AMD Date: Sun, 13 Jun 2021 22:09:33 -0400 Organization: IISS Elusive Unicorn Message-ID: <08edcglr8r26t67g1lcfig3pk1ls9n1eei@4ax.com> References: <1d798609-8b73-4bc6-b74f-e435e8af8fedn@googlegroups.com> <26182d75-4a84-47d2-b151-bbcb01964fabn@googlegroups.com> <14166772-2507-4953-8843-57fe35b0f6fbn@googlegroups.com> User-Agent: ForteAgent/8.00.32.1272 X-No-Archive: YES MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-MtLYEV80c12SolYq+EJnhhK7x+qU8L4WUPdX1RQqef0g7iAym1nb8b0nNgC4b8/xrjgkPwXQIMNfBhk!Mpby+9kZbVAhXKY+NwGypTvH8k5Zf3r8mjtlaZsTZugTsaqvZlC0WjHaLtNfiUol/wHqDs5W X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2847 X-Received-Bytes: 3026 Xref: reader02.eternal-september.org comp.lang.ada:62224 List-Id: On Sun, 13 Jun 2021 09:43:59 -0700 (PDT), Dan Winslow declaimed the following: >Yep, just found that myself. So, I guess since the tasks get mapped onto underlying os threads, windows has its own ideas and does things like automatic priority promotion and other non-compliant stuff. Too bad, but I guess kind of makes sense because windows does everything possible, most likely, to prevent any kind of thread monopolization. Would be nice if the gnat windows version at least threw a warning that 'hey, it's legal, but it aint gonna work on windows'. > Priority promotion is a concept inherited from DEC (open)VMS, where normal user processes had a base priority (which they never dropped below), but would get priority boosts if it wasn't scheduled over some number of quantums. And similarly, the top half or so of the priority range was considered "realtime" and fixed (no priority boosting). Setting your program to one of Windows "realtime" levels (16-31), might have some effect on how the program behaves since I believe those too are fixed priority. Supposedly NTFS also inherited some VMS concepts -- but if so, M$ managed to obscure them from regular users. -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com http://wlfraed.microdiversity.freeddns.org/