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,34e28efa1a88ae84 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news1.google.com!postnews.google.com!l17g2000pri.googlegroups.com!not-for-mail From: Adam Beneschan Newsgroups: comp.lang.ada Subject: Re: Access procedure to pointer Date: Wed, 28 May 2008 14:36:07 -0700 (PDT) Organization: http://groups.google.com Message-ID: <49d0600f-e5cd-4d95-9ca4-1eb25a832437@l17g2000pri.googlegroups.com> References: <483C48B5.9060303@gmail.com> <483D209D.5010408@gmail.com> <483D72F0.9090308@gmail.com> NNTP-Posting-Host: 66.126.103.122 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1212010567 14023 127.0.0.1 (28 May 2008 21:36:07 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 28 May 2008 21:36:07 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: l17g2000pri.googlegroups.com; posting-host=66.126.103.122; posting-account=duW0ogkAAABjRdnxgLGXDfna0Gc6XqmQ User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.12) Gecko/20050922 Fedora/1.7.12-1.3.1,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:435 Date: 2008-05-28T14:36:07-07:00 List-Id: On May 28, 8:26 am, Jean-Pierre Rosen wrote: > S=E9bastien a =E9crit :>> Why don't you simply use Ada.Interrupts? > > > Two reasons: > > 1) It didn't know it exists > > 2) It's not documented, and not intuitive, no example nothing to start. > > > As a matter of fact, the first problem is solved ;-), if you any help > > about the second problem, I'll be happy to use standard package instead > > of mine. > > Well, it is documented in the reference manual, and a quick search for > the word "interrupt" in the index would have put you right there... Right, but the reference manual doesn't say that "interrupts" are "Unix signals", even on a Unix-like system, which is to be expected, since this is a highly implementation-dependent matter and the RM can't be expected to speak on what "interrupts" mean in a particular implementation. So the RM can't be expected to help solve Sebastien's problem at all. I'd think that GNAT documentation *would* give an answer to this, but a quick search of the GNAT documentation that I found on AdaCore's site didn't say anything about what the "interrupts" in Ada.Interrupts refer to. I may not have been looking in the right place, though. I did find the .ads file that defines the Ada.Interrupts.Names spec in GNAT's runtime, and that did make it clear that "interrupts" are Unix (or Linux or something) signals. -- Adam