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=0.6 required=5.0 tests=BAYES_00,TO_NO_BRKTS_FROM_MSSP autolearn=no 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 13:48:34 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!netnews.com!feed.cgocable.net!out.nntp.be!propagator-dallas!news-in-dallas.newsfeeds.com!newsranger.com!www.newsranger.com!not-for-mail Newsgroups: comp.lang.ada From: Ted Dennison References: <3B0D5544.ED114B7E@uundz.de> Subject: Re: Device file not closing on close command Message-ID: X-Abuse-Info: When contacting newsranger.com regarding abuse please X-Abuse-Info: forward the entire news article including headers or X-Abuse-Info: else we will not be able to process your request X-Complaints-To: abuse@newsranger.com NNTP-Posting-Date: Thu, 24 May 2001 16:47:53 EDT Organization: http://www.newsranger.com Date: Thu, 24 May 2001 20:47:53 GMT Xref: archiver1.google.com comp.lang.ada:7734 Date: 2001-05-24T20:47:53+00:00 List-Id: 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. --- T.E.D. homepage - http://www.telepath.com/dennison/Ted/TED.html home email - mailto:dennison@telepath.com