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.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Niklas Holsti Newsgroups: comp.lang.ada Subject: Re: non-preemptive tasking on GNAT 2020 Windows 10 multicore AMD Date: Sat, 12 Jun 2021 21:02:56 +0300 Organization: Tidorum Ltd Message-ID: References: <4db69f85-a3b3-48f8-a41e-8bdf196a8294n@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net 800nW/dURDqPn4xr5kvJiAxSajkZpkYZFx7t4iq7lMdDSvPXja Cancel-Lock: sha1:LBFhoUwElYbJ2iAZIxoIODCYDqU= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 In-Reply-To: <4db69f85-a3b3-48f8-a41e-8bdf196a8294n@googlegroups.com> Content-Language: en-US Xref: reader02.eternal-september.org comp.lang.ada:62203 List-Id: On 2021-06-12 19:03, AdaMagica wrote: > There is another importatn point. X and Y are global, and a task may > update globals only at dispatching points. Updates to globals can be delayed, yes. But where in the RM does it say that a task cannot delay updates to non-volatile globals past dispatching points? I haven't found any connection between dispatching points and updates to globals in RM Annex D, where dispatching points are defined. > So taks One could infact consider Y constant within the loop. Yes.