comp.lang.ada
 help / color / mirror / Atom feed
* re: propogation of exceptions
@ 1986-06-06 12:40 prindle
  0 siblings, 0 replies; only message in thread
From: prindle @ 1986-06-06 12:40 UTC (permalink / 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1986-06-06 12:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1986-06-06 12:40 propogation of exceptions prindle

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