From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,63360011f8addace X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-07-17 09:28:15 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!news.freenet.de!not-for-mail From: Jan Prazak Subject: Re: gnat: time-slicing Date: Wed, 17 Jul 2002 18:29:25 -0100 Newsgroups: comp.lang.ada Message-ID: References: <5ee5b646.0207161329.5c8e387b@posting.google.com> User-Agent: Pan/0.11.2 (Unix) Mime-Version: 1.0 Content-Type: text/plain; charset=iso885915 Content-Transfer-Encoding: 8bit X-Comment-To: "Robert Dewar" NNTP-Posting-Host: 213.7.194.202 X-Trace: 1026923281 news.freenet.de 8372 213.7.194.202 X-Complaints-To: abuse@freenet.de Xref: archiver1.google.com comp.lang.ada:27193 Date: 2002-07-17T18:29:25-01:00 List-Id: On Tue, 16 Jul 2002 20:29:48 -0100, Robert Dewar wrote: > This is a nonsense example, it is erroneous to do output on the same > file from two different tasks, since obviously the file is a shared > variable, and the program violates rules about access to shared There is no output to a file. And I think it's an interesting example (if it works as explained in the tutorial), because it shows that tasking can be dangerous in some way.