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,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-07-15 01:24:41 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.arcor-online.net!newsfeed.r-kom.de!newsfeed.freenet.de!news.freenet.de!not-for-mail From: Jan Prazak Subject: gnat: time-slicing Date: Mon, 15 Jul 2002 10:25:53 -0100 Newsgroups: comp.lang.ada Message-ID: User-Agent: Pan/0.11.2 (Unix) Mime-Version: 1.0 Content-Type: text/plain; charset=iso885915 Content-Transfer-Encoding: 8bit X-Comment-To: ALL NNTP-Posting-Host: 213.7.144.150 X-Trace: 1026721479 news.freenet.de 26961 213.7.144.150 X-Complaints-To: abuse@freenet.de Xref: archiver1.google.com comp.lang.ada:27100 Date: 2002-07-15T10:25:53-01:00 List-Id: Hello, I have seen this example program in a tutorial: ------------ with Ada.Text_IO; use Ada.Text_IO; procedure Task_Demo is task A; task body A is begin Put_Line("b"); Put_Line("b"); end A; begin Put_Line("a"); Put_Line("a"); end Task_Demo; --------------- The output is: a a b b But I want the output to be: ab ab (the tutorial says that this is the output with enabled time-slicing) I have tried to use -gnatT100, and -gnatT1, and pragma Time_Slice(0.000001) etc., but none of this works. I have gnat for Linux. Jan