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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,88076dc693273166 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-01-09 22:24:30 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!wn11feed!worldnet.att.net!216.166.71.14!border3.nntp.aus1.giganews.com!intern1.nntp.aus1.giganews.com!nntp.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Sat, 10 Jan 2004 00:24:29 -0600 Date: Sat, 10 Jan 2004 01:24:28 -0500 From: "Robert I. Eachus" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: To raise an exception in task and handle/catch it in outer-block. References: <3gTJb.369$Mb5.7531@news2.e.nsc.no> <17nuvvo1e7mjeca1jstfeud11o1gbv81jv@4ax.com> In-Reply-To: <17nuvvo1e7mjeca1jstfeud11o1gbv81jv@4ax.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 24.34.214.193 X-Trace: sv3-BkqYlPlSft4b+A+AGpC45GDF1Twcro4fSluVP3KhYrDK5YpBu5R7lQ/zXqL7FaxMRrTWU3z5jKlpnYx!ShcbD44Cy1FcT1RVvYK3H2dVEoHipcU1r3KqGeD7RkoDQP8koLV0nEXeL+mIGw== X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.1 Xref: archiver1.google.com comp.lang.ada:4294 Date: 2004-01-10T01:24:28-05:00 List-Id: Craig Carey wrote: > The above call to raise is a way to get a lockup without any blocking. > I never submitted a bug report. I don't know what GNAT does in this case, it may even have a bug. But the code in your example should cause the exception to be propagated to the caller, then silently terminate the task. I can well imagine situations where this would cause a program to hang. (If some tasks in a process, but not all tasks are terminated, the program unit the tasks depend on will not be left. I think that is what you mean when talking about zombies. -- Robert I. Eachus "The war on terror is a different kind of war, waged capture by capture, cell by cell, and victory by victory. Our security is assured by our perseverance and by our sure belief in the success of liberty." -- George W. Bush