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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Jeffrey Carter Newsgroups: comp.lang.ada Subject: Re: Termination of periodic tasks Date: Sun, 15 Jun 2014 09:54:04 -0700 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sun, 15 Jun 2014 16:54:06 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="ba346f17b503f6aa8ecbfd6d1e2a9f59"; logging-data="20111"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19ehSfQ75yPswUKaLmUnJgCaszrh28DvQ8=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 In-Reply-To: Cancel-Lock: sha1:DjqCm0TDIyKFFkymDJd+RwHAGSk= Xref: news.eternal-september.org comp.lang.ada:20319 Date: 2014-06-15T09:54:04-07:00 List-Id: On 06/15/2014 03:10 AM, Natasha Kerensikova wrote: > > A timed select to wait for an entry that exists the loop would be fine > too, but how can I detect program termination to call the entry? > Could something be worked with a user-defined Finalize? ARM 7.6.1 says, "For the finalization of a master, dependent tasks are first awaited, as explained in 9.3. Then each object ... is finalized if the object was successfully initialized and still exists." So the task has to terminate before Finalize is called. -- Jeff Carter "I spun around, and there I was, face to face with a six-year-old kid. Well, I just threw my guns down and walked away. Little bastard shot me in the ass." Blazing Saddles 40