comp.lang.ada
 help / color / mirror / Atom feed
From: Jean-Pierre Rosen <rosen@adalog.fr>
Subject: Re: task model
Date: Mon, 19 Oct 2009 09:56:46 +0200
Date: 2009-10-19T09:56:46+02:00	[thread overview]
Message-ID: <v36hbh.96h.ln@hunter.axlog.fr> (raw)
In-Reply-To: <m2d44na0xd.fsf@hal.futureapps.de>

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



  parent reply	other threads:[~2009-10-19  7:56 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-15 17:43 task model Mike
2009-10-15 18:00 ` Ludovic Brenta
2009-10-15 19:15   ` Anh Vo
2009-10-15 19:54     ` Dmitry A. Kazakov
2009-10-15 20:15       ` Jeffrey R. Carter
2009-10-16 14:06       ` Georg Bauhaus
2009-10-16 14:57         ` Brad Moore
2009-10-16 20:06         ` Jeffrey R. Carter
2009-10-17 11:10           ` Georg Bauhaus
2009-10-17 12:18             ` Dmitry A. Kazakov
2009-10-17 17:34             ` Jeffrey R. Carter
2009-10-19  7:56         ` Jean-Pierre Rosen [this message]
2009-10-15 19:55     ` sjw
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox