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!feeder.eternal-september.org!news.uzoreto.com!2.eu.feeder.erje.net!feeder.erje.net!news-1.dfn.de!news.dfn.de!news.uni-weimar.de!medsec1.medien.uni-weimar.de!slucks From: Stefan.Lucks@uni-weimar.de Newsgroups: comp.lang.ada Subject: Re: How can one record component be local and another not? Date: Thu, 7 May 2020 12:31:07 +0200 Organization: Bauhaus-Universitaet Weimar Message-ID: References: NNTP-Posting-Host: medsec1.medien.uni-weimar.de Mime-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="915268786-1385971435-1588846912=:1471015" X-Trace: pinkpiglet.scc.uni-weimar.de 1588847469 18843 141.54.178.228 (7 May 2020 10:31:09 GMT) X-Complaints-To: news@pinkpiglet.scc.uni-weimar.de NNTP-Posting-Date: Thu, 7 May 2020 10:31:09 +0000 (UTC) X-X-Sender: slucks@hexenstieg In-Reply-To: User-Agent: Alpine 2.22 (DEB 394 2020-01-19) Content-ID: Xref: reader01.eternal-september.org comp.lang.ada:58624 Date: 2020-05-07T12:31:07+02:00 List-Id: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --915268786-1385971435-1588846912=:1471015 Content-Type: text/plain; CHARSET=ISO-8859-15; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Content-ID: On Thu, 7 May 2020, J-P. Rosen wrote: > No, tasks declared in library packages could survive the main program. Correct me, if I am wrong, but my understanding has always been that the=20 main program (or "environment task") can only terminate after all the=20 tasks started within the main program have terminated (or, perhaps, have=20 been aborted, or did run into an unhandled exception). > You may even have a "begin null; end" main program, and do all the work > with library tasks. Once again, my understanding is that a main program with the "begin null;= =20 end Program_Name" does not terminate, as long as one of its tasks is still= =20 running. In fact, I am frequently using the "begin null; end=20 Program_Name;" pattern myself, and "Program_Name" does not terminate, as=20 long as any of its tasks is still alife and kicking. -------- I love the taste of Cryptanalysis in the morning! -------= - www.uni-weimar.de/de/medien/professuren/mediensicherheit/people/stefan-luck= s ----Stefan.Lucks (at) uni-weimar.de, Bauhaus-Universit=E4t Weimar, Germany-= --- --915268786-1385971435-1588846912=:1471015--