comp.lang.ada
 help / color / mirror / Atom feed
From: prindle@NADC
Subject: re: propogation of exceptions
Date: Fri, 6-Jun-86 08:40:00 EDT	[thread overview]
Date: Fri Jun  6 08:40:00 1986
Message-ID: <8606061349.AA05201@ucbvax.Berkeley.EDU> (raw)

True, if a task running independently is completed due to an unhandled
exception, that is the end of the line. But if a task is running because it
is engaged in a rendezvous, then the exception *is* propogated, not to the
task's parent, but to the calling task, just as in a subprogram call.

This is indicated in 11.5(a) of the LRM.

If a task must notify it's parent, it had better handle all anticipated
exceptions and utilize a user-defined method of error notification (e.g. a
call to an entry of an error task which maintains a global database of the
health of various tasks).

Frank Prindle
Prindle@NADC.arpa

                 reply	other threads:[~1986-06-06 12:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
replies disabled

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