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,10d1a90a699d6cfc X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!news.albasani.net!nuzba.szn.dk!news.jacob-sparre.dk!pnx.dk!not-for-mail From: Jacob Sparre Andersen Newsgroups: comp.lang.ada Subject: Re: Ada tasking question Date: Thu, 19 Apr 2007 14:47:18 +0200 Organization: Jacob's private Usenet server Message-ID: References: <20070418201307.18a85fd9@cube.tz.axivion.com> <462688E3.6050105@nowhere.com> <20070419005738.692eeeb6@cube.tz.axivion.com> NNTP-Posting-Host: dmusyd.news.jacob-sparre.dk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: jacob-sparre.dk 1176986838 19316 83.89.129.234 (19 Apr 2007 12:47:18 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Thu, 19 Apr 2007 12:47:18 +0000 (UTC) User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:AiZYFsk5yYwfGMZ02XFCMZqgVkM= Xref: g2news1.google.com comp.lang.ada:15119 Date: 2007-04-19T14:47:18+02:00 List-Id: 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? Jacob -- "Then, after a second or so, nothing continued to happen."