From: Anh Vo <anhvofrcaus@gmail.com>
Subject: Re: Ada tasking question
Date: 19 Apr 2007 09:11:36 -0700
Date: 2007-04-19T09:11:36-07:00 [thread overview]
Message-ID: <1176999096.607478.156900@q75g2000hsh.googlegroups.com> (raw)
In-Reply-To: <ygefy6wmsyx.fsf@hugsarin.dmusyd.edu>
On Apr 19, 5:47 am, Jacob Sparre Andersen <spa...@nbi.dk> wrote:
> Randy Brukardt wrote:
> > I use something like:
>
> > exception
> > when Oops:others =>
> > Debug ("Worker Task Failed: exception raised: " &
> > Ada.Exceptions.Exception_Information (Oops));
> > end Bucket_Worker;
>
> The exception handler allows us to notice when one of the tasks dies.
> But can we (re)start it somehow? Or will we have to put an exception
> handler inside the processing loop, and that way keep the task
> running?
I always put exception handler inside the live_for_ever_task loop.
Only in a very rare case that it is very critical to terminate the
task. I will print out (log) lots of useful information before saying
Later Alligator.
AV
next prev parent reply other threads:[~2007-04-19 16:11 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-18 18:13 Ada tasking question Stefan Bellon
2007-04-18 18:40 ` Randy Brukardt
2007-04-18 20:12 ` Jeffrey R. Carter
2007-04-18 22:43 ` Stefan Bellon
2007-04-19 2:02 ` Steve
2007-04-18 21:08 ` Leif Holmgren
2007-04-18 22:57 ` Stefan Bellon
2007-04-18 23:41 ` Brian May
2007-04-19 0:25 ` Randy Brukardt
2007-04-19 8:02 ` Stefan Bellon
2007-04-19 12:47 ` Jacob Sparre Andersen
2007-04-19 16:11 ` Anh Vo [this message]
2007-04-20 4:32 ` Jeffrey R. Carter
2007-04-19 0:50 ` Jeffrey R. Carter
2007-04-18 19:50 ` Alex R. Mosteo
2007-04-18 23:00 ` Stefan Bellon
2007-04-19 20:37 ` Pascal Obry
2007-04-19 2:13 ` jimmaureenrogers
2007-04-19 7:49 ` Dmitry A. Kazakov
-- strict thread matches above, loose matches on Subject: below --
1996-10-18 0:00 whiting_ms@corning.com (Matt Whiting)
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox