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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,d8de0100a4b5ff9d X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!j33g2000cwa.googlegroups.com!not-for-mail From: "REH" Newsgroups: comp.lang.ada Subject: Re: Exception propagation Date: 16 Mar 2006 14:19:57 -0800 Organization: http://groups.google.com Message-ID: <1142547597.762400.142710@j33g2000cwa.googlegroups.com> References: <1142435766.866193.190130@i40g2000cwc.googlegroups.com> <87acbqdqof.fsf@ludovic-brenta.org> NNTP-Posting-Host: 192.91.173.42 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1142547603 12437 127.0.0.1 (16 Mar 2006 22:20:03 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 16 Mar 2006 22:20:03 +0000 (UTC) In-Reply-To: <87acbqdqof.fsf@ludovic-brenta.org> User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: j33g2000cwa.googlegroups.com; posting-host=192.91.173.42; posting-account=lnUIyw0AAACoRB2fMF2SFTIilm8F10q2 Xref: g2news1.google.com comp.lang.ada:3388 Date: 2006-03-16T14:19:57-08:00 List-Id: Ludovic Brenta wrote: > "REH" 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