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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,21f034c3990be45c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-05-24 14:08:34 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!t-online.de!fr.usenet-edu.net!usenet-edu.net!enst!enst.fr!not-for-mail From: "Beard, Frank" Newsgroups: comp.lang.ada Subject: RE: Device file not closing on close command Date: Thu, 24 May 2001 17:06:43 -0400 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: avanie.enst.fr 990738514 6218 137.194.161.2 (24 May 2001 21:08:34 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Thu, 24 May 2001 21:08:34 +0000 (UTC) To: "'comp.lang.ada@ada.eu.org'" Return-Path: X-Mailer: Internet Mail Service (5.5.2448.0) Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.4 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , List-Archive: Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:7735 Date: 2001-05-24T17:06:43-04:00 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 , 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.