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 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-16 14:33:42 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: dewar@gnat.com (Robert Dewar) Newsgroups: comp.lang.ada Subject: Re: time-slicing Date: 16 Jul 2002 14:33:41 -0700 Organization: http://groups.google.com/ Message-ID: <5ee5b646.0207161333.65f959bb@posting.google.com> References: NNTP-Posting-Host: 212.157.227.203 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1026855221 26784 127.0.0.1 (16 Jul 2002 21:33:41 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 16 Jul 2002 21:33:41 GMT Xref: archiver1.google.com comp.lang.ada:27166 Date: 2002-07-16T21:33:41+00:00 List-Id: Jan Prazak wrote in message news:... > The tutorial says that there has to be a pragma, which > enable time-slicing This is also false, perhaps it is time to get another tutorial. If it really says this it is wrong. There is no required support for time slicing in Ada 95. The only required scheduling discipline is run till blocked, and that is only required if you use the proper pragma and annex D is supported. On a system like GNU/Linux or NT, you will get whatever the underlying threads mechanism provides. You did not even say which threads package you were using on your system.