From: "Beard, Frank" <beardf@spawar.navy.mil>
To: "'comp.lang.ada@ada.eu.org'" <comp.lang.ada@ada.eu.org>
Subject: RE: Device file not closing on close command
Date: Thu, 24 May 2001 17:06:43 -0400
Date: 2001-05-24T17:06:43-04:00 [thread overview]
Message-ID: <mailman.990738513.30896.comp.lang.ada@ada.eu.org> (raw)
Using Aonix ObjectAda on Windows NT, we found that a "delay 0.0" had
no effect. I haven't tried it with the latest version of the compiler,
so I don't know if that has changed. But, at the time we had to use
a delay of 0.02 to get it to switch.
-----Original Message-----
From: Ted Dennison [mailto:dennison@telepath.com]
In article <HmeP6.6910$r4.437943@www.newsranger.com>, Ted Dennison says...
>
>In article <3B0D5544.ED114B7E@uundz.de>, Tilman Gloetzner says...
>
>> select
>..
>> or
>> delay(0.0);
>..
>> end select;
>
>I doubt this has much to do with your problem, but you should probably be
using
>an "else" rather than an "or delay 0.0".
..and you probably shouldn't be using either in a tight loop, like you are
doing here. That's a busy loop. It could be that your task is hogging all
the
CPU in this busy loop, and is not giving your main task a chance to call the
Quit entry. But since it isn't higher priority, and delay is supposed to act
as
a scheduling point, I'd be suprised if this was the problem.
next reply other threads:[~2001-05-24 21:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-24 21:06 Beard, Frank [this message]
2001-05-25 22:30 ` Device file not closing on close command Tilman Gloetzner
-- strict thread matches above, loose matches on Subject: below --
2001-05-24 18:39 Tilman Gloetzner
2001-05-24 18:16 ` Pat Rogers
2001-05-24 20:42 ` Ted Dennison
2001-05-24 20:47 ` Ted Dennison
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox