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 X-Google-Thread: 103376,a023f5759065182 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-11-27 06:56:20 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed1.bredband.com!bredband!uio.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: Selective accept in Ada tasking Date: Wed, 27 Nov 2002 14:56:18 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: NNTP-Posting-Host: kiuk0152.chembio.ntnu.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: tyfon.itea.ntnu.no 1038408978 13754 129.241.83.78 (27 Nov 2002 14:56:18 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Wed, 27 Nov 2002 14:56:18 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.ada:31255 Date: 2002-11-27T14:56:18+00:00 List-Id: Ivan wrote: > I have found some resources concerning this, like > http://www.cs.utsa.edu/~danlo/ada/ada95.htm that recomend a delay > 0.0. It's not a serious solution but it runs. Maybe another > compiler instead of GNAT takes a better solution? I thought that one should put in a 0.01 delay (or less) so that there is a bit time to switch the tasks ? At least I experience that the CPU goes to 100% if I don't do it, but if I do it my program doesn't make a blip on the CPU usage screen. -- Preben Randhol ------------------------ http://www.pvv.org/~randhol/ -- �1984 is soon coming to a computer near you.�