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-Language: ENGLISH,ASCII Path: g2news2.google.com!news1.google.com!news.glorb.com!feeder.erje.net!news.ecp.fr!oleane.net!oleane!hunter.axlog.fr!nobody From: Jean-Pierre Rosen Newsgroups: comp.lang.ada Subject: Re: task model Date: Mon, 19 Oct 2009 09:56:46 +0200 Organization: Adalog Message-ID: References: <04458a0b-1e58-478b-a2f0-c47226f840ac@f16g2000yqm.googlegroups.com> <6b6bd661-06b0-4ef6-8d48-0ef97d55fdd4@f20g2000prn.googlegroups.com> NNTP-Posting-Host: mailhost.axlog.fr Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: s1.news.oleane.net 1255940089 10209 195.25.228.57 (19 Oct 2009 08:14:49 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Mon, 19 Oct 2009 08:14:49 +0000 (UTC) User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) In-Reply-To: Xref: g2news2.google.com comp.lang.ada:8725 Date: 2009-10-19T09:56:46+02:00 List-Id: Georg Bauhaus a �crit : > 4. add an exception handler to your tasks. > Have it print a message, for example, and > then re-raise the exception. Otherwise tasks > may fail in silence and you never learn what > has happened. This pattern can be enforced by the following rule ine AdaControl: check exception_propagation (task); -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr