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!mx02.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!gegeweb.org!news.ecp.fr!news.jacob-sparre.dk!loke.jacob-sparre.dk!pnx.dk!.POSTED!not-for-mail From: Jacob Sparre Andersen Newsgroups: comp.lang.ada Subject: Re: one task missing during the execution Date: Thu, 16 Oct 2014 18:59:24 +0200 Organization: Jacob Sparre Andersen Research & Innovation Message-ID: <878ukg3q8j.fsf@adaheads.sparre-andersen.dk> References: <885f299a-b089-4892-ae2f-efffda3af1fb@googlegroups.com> NNTP-Posting-Host: 109.57.149.148.mobile.3.dk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: loke.gir.dk 1413478765 31611 109.57.149.148 (16 Oct 2014 16:59:25 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Thu, 16 Oct 2014 16:59:25 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Cancel-Lock: sha1:dCFx70neePZ4uUv+WTcwaBbir4Q= Xref: news.eternal-september.org comp.lang.ada:22529 Date: 2014-10-16T18:59:24+02:00 List-Id: compguy45@gmail.com writes: > I have 6 tasks......There properly wait at the first entry and print > out their ids....then they all accounted for inside doSomething but > right before doSomethingElse id 123 just disappears... Have you included an exception handler at the end of each of your tasks? All tasks (but the main task) terminate silently in case of an exception, so it can be useful to have a final exception handler in any task for registering that it has been terminated by an exception. Greetings, Jacob -- Photos from the Faroe Islands: http://billeder.sparre-andersen.dk/The_Faroe_Islands/