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=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,61e9062c1f23b9d5 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news1.google.com!news.glorb.com!proxad.net!feeder1-2.proxad.net!193.252.118.146.MISMATCH!news.wanadoo.fr!news.wanadoo.fr!not-for-mail Message-ID: <4669BBBB.8040806@obry.net> Date: Fri, 08 Jun 2007 22:27:39 +0200 From: Pascal Obry Organization: Home - http://www.obry.net User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 Newsgroups: comp.lang.ada To: Stefan Lucks Subject: Re: contracted exceptions References: <1181165630.012508.55290@i38g2000prf.googlegroups.com> <19fxsxv1god43$.1pqq8vgfu2itn$.dlg@40tude.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit NNTP-Posting-Date: 08 Jun 2007 22:27:44 CEST NNTP-Posting-Host: 82.120.145.72 X-Trace: 1181334464 news.orange.fr 25943 82.120.145.72:4885 X-Complaints-To: abuse@orange.fr Xref: g2news1.google.com comp.lang.ada:16125 Date: 2007-06-08T22:27:44+02:00 List-Id: Stefan Lucks a �crit : > If a task fails to handle an exception raised somewhere inside, the task > silently dies -- without notifying anyone. Enforcing the subprograms > used by the task to precisely specify "this subprogram might raise these > exceptions and none else" would help a lot ... That's really different. And think about it, since a task is mapped to a thread which comes with its own stack... who could possibly handle this exception ? And note that in Ada 2005 you can use Ada.Task_Termination to register termination notifications. Pascal. -- --|------------------------------------------------------ --| Pascal Obry Team-Ada Member --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE --|------------------------------------------------------ --| http://www.obry.net --| "The best way to travel is by means of imagination" --| --| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595