comp.lang.ada
 help / color / mirror / Atom feed
From: "REH" <spamjunk@stny.rr.com>
Subject: Re: Exception propagation
Date: 16 Mar 2006 14:19:57 -0800
Date: 2006-03-16T14:19:57-08:00	[thread overview]
Message-ID: <1142547597.762400.142710@j33g2000cwa.googlegroups.com> (raw)
In-Reply-To: <87acbqdqof.fsf@ludovic-brenta.org>


Ludovic Brenta wrote:
> "REH" <spamjunk@stny.rr.com> writes:
> > I found this "In a distributed program, the identity is unique across
> > an entire program, not just across a single partition. Exception
> > propagation works properly across RPC's. An exception can be propagated
> > from one partition to another, and then back to the first, where its
> > identity is known. " in the ARM.
> >
> > Does this mean that the id of an exception is identical in each
> > partition? So, if I am using a partitioned OS, can I send an
> > exception's id from one partition to another and reliably raise it?
>
> I am under the impression that you confuse the Ada notion of a
> "partition" and the OS notion; please correct me if I'm wrong.
>
Well, I'm not sure.  What if I have a partitioned Ada program running
in a partitioned OS?  What I wasn't sure of was whether I could take an
exception raised in one address space, and send it to another address
space and re-raise it.  We are using Integrity.  I was told I must use
connections (and not the RPC services in the distributed annex) because
they are faster.  Whether that is true or not, I do not know.  What I
am wondering (I have no hardware or software yet, so I cannot do any
prototyping), is will the two "pieces" of Ada, which are in separate
address spaces but built as one monolithic object, have the same
exception id mapping.  Since I have to use connection objects, I have
to handle the exception propagation myself.  I am trying to figure out
if I need to convert the exception ids to a common value both pieces of
Ada can agree on, like an enumeration, or if that is unnecessary
because the pieces already agree on the values of the ids.

Is it even possible to have a partitioned Ada program without using the
distributed services annex?

Does that make sense?

REH




  reply	other threads:[~2006-03-16 22:19 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-15 15:16 Exception propagation REH
2006-03-16 21:29 ` Ludovic Brenta
2006-03-16 22:19   ` REH [this message]
2006-03-16 22:51     ` Ludovic Brenta
2006-03-17  2:52       ` REH
2006-03-17 14:52         ` Georg Bauhaus
  -- strict thread matches above, loose matches on Subject: below --
1999-06-07  0:00 Exception Propagation Decker, Christian R
1999-06-07  0:00 ` dennison
1999-06-08  0:00   ` Glen
1999-06-08  0:00     ` Decker, Christian R
1999-06-08  0:00       ` David C. Hoos, Sr.
1999-06-08  0:00       ` Robert Dewar
1999-06-09  0:00       ` dennison
1999-06-14  0:00         ` Robert A Duff
1999-06-14  0:00           ` Bryce Bardin
1999-06-14  0:00           ` dennison
1999-06-15  0:00             ` Robert A Duff
1999-06-15  0:00           ` Dale Stanbrough
1999-06-15  0:00             ` Robert A Duff
1999-06-08  0:00     ` dennison
1999-06-08  0:00     ` Robert Dewar
1999-06-09  0:00       ` Matthew Heaney
1999-06-08  0:00         ` R. Tim Coslet
1999-06-09  0:00         ` Robert Dewar
1999-06-09  0:00         ` dennison
replies disabled

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