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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,95a195198c452b32 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!newsread.com!news-xfer.newsread.com!newspeer.monmouth.com!newsfeed.icl.net!newsfeed.fjserv.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.multikabel.nl!skynet.be!skynet.be!newspost001!tjb!not-for-mail Date: Wed, 16 Feb 2005 22:20:27 +0100 From: Adrien Plisson Reply-To: aplisson-news@stochastique.net User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: fr-be, fr, en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Finalization of a record containing a task References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <4213b899$0$20902$ba620e4c@news.skynet.be> Organization: -= Belgacom Usenet Service =- NNTP-Posting-Host: fb893c1c.news.skynet.be X-Trace: 1108588697 news.skynet.be 20902 80.200.111.231:13800 X-Complaints-To: usenet-abuse@skynet.be Xref: g2news1.google.com comp.lang.ada:8361 Date: 2005-02-16T22:20:27+01:00 List-Id: Stephen Leake wrote: > ssh9614@hotmail.com (Bj?rn) writes: >>I do not see how I can manage this since the ADT does not seem to >>finalize as long as the tasks have not terminated. > > you need to have a 'select' statement, with an open 'terminate' > alternative. alternately, since T_ADT is Limited_Controlled, you may abort the inner task in its Finalize (!! baaad !!) -- rien