comp.lang.ada
 help / color / mirror / Atom feed
From: "Robert I. Eachus" <rieachus@comcast.net>
Subject: Re: To raise an exception in task and handle/catch it in outer-block.
Date: Sat, 10 Jan 2004 01:24:28 -0500
Date: 2004-01-10T01:24:28-05:00	[thread overview]
Message-ID: <us2dnS0vusgAB2KiRVn-iQ@comcast.com> (raw)
In-Reply-To: <17nuvvo1e7mjeca1jstfeud11o1gbv81jv@4ax.com>

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




  reply	other threads:[~2004-01-10  6:24 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-04  5:58 To raise an exception in task and handle/catch it in outer-block Frank
2004-01-03 22:03 ` tmoran
2004-01-04 20:58   ` Frank
2004-01-04 20:35     ` tmoran
2004-01-07  3:48       ` Frank
2004-01-10  2:20     ` Craig Carey
2004-01-10  6:24       ` Robert I. Eachus [this message]
2004-01-10 21:05       ` Frank
replies disabled

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