comp.lang.ada
 help / color / mirror / Atom feed
From: Brad Moore <brad.moore@shaw.ca>
Subject: Re: task model
Date: Fri, 16 Oct 2009 08:57:21 -0600
Date: 2009-10-16T08:57:21-06:00	[thread overview]
Message-ID: <zS%Bm.4158$pl1.2382@newsfe01.iad> (raw)
In-Reply-To: <m2d44na0xd.fsf@hal.futureapps.de>

Georg Bauhaus wrote:
> 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.

Or use the Ada 2005 package, Ada.Task_Termination
which allows you to install a handler that
gets called when tasks terminate.



  reply	other threads:[~2009-10-16 14:57 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 [this message]
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
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