From: Preben Randhol <randhol+news@pvv.org>
Subject: Re: Selective accept in Ada tasking
Date: Wed, 27 Nov 2002 14:56:18 +0000 (UTC)
Date: 2002-11-27T14:56:18+00:00 [thread overview]
Message-ID: <slrnau9n8b.2e9.randhol+news@kiuk0152.chembio.ntnu.no> (raw)
In-Reply-To: yt4F9.510$6m.65928@news.ono.com
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.�
next prev parent reply other threads:[~2002-11-27 14:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-27 10:02 Selective accept in Ada tasking Grein, Christoph
2002-11-27 14:17 ` Ivan
2002-11-27 14:56 ` Preben Randhol [this message]
2002-11-27 15:02 ` Adrian Knoth
-- strict thread matches above, loose matches on Subject: below --
2002-11-27 8:22 Ivan Paniagua
2002-11-27 9:33 ` Peter Hermann
2002-11-27 14:41 ` SteveD
2002-11-27 16:14 ` tmoran
2002-11-29 7:02 ` Ivan
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox