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: a07f3367d7,e69505d5161d7d41 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!feeder.news-service.com!feeder.motzarella.org!news.motzarella.org!eternal-september.org!not-for-mail From: Reto Buerki Newsgroups: comp.lang.ada Subject: Re: Interrupt handler and Ada.Real_Time.Timing_Events Date: Sat, 16 May 2009 01:24:04 +0200 Organization: A noiseless patient Spider Message-ID: <4A0DF994.8010704@codelabs.ch> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: news.eternal-september.org U2FsdGVkX19HDVhb3iPyP5R+j0kQ1KeAiDCKJ7XZ4aeuQ6//JTOag2RuEY8q3/UYpSUr4JhjA3minD9hkAtAXZ4qy59S8drBgjKRAGyJkbVe/QWr/6FkYHbMmo/rkWZjzjNcrZI6W3oG2soIWkHyzQ== X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers NNTP-Posting-Date: Fri, 15 May 2009 23:24:01 +0000 (UTC) In-Reply-To: X-Auth-Sender: U2FsdGVkX1/GXLfaYsHGMRIirafTI0rEUfbJXeYOAPA= Cancel-Lock: sha1:Y/OuympLYQNcrpl7nul6ZBGRASk= User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103) Xref: g2news2.google.com comp.lang.ada:5863 Date: 2009-05-16T01:24:04+02:00 List-Id: Adam Beneschan wrote: > My guess would be that when Ada.Real_Time.Timing_Events is with'ed, > this causes elaboration code for the Timing_Events package to be > executed (before Interrupt_Problem), and there must be something that > this elaboration does that interferes with the Attach_Handler > mechanism. I can't find anything in the language definition of > Timing_Events that would cause this, so it must be a problem > particular to your Ada compiler implementation, and you should contact > the vendor, or at least let us know what compiler you're using so that > others who may have some knowledge of that particular compiler might > be able to help. I'm using FSF GNAT 4.3.2 on Debian Lenny. >> Is there a problem with this >> code? > > Yes, definitely: "occurred" is misspelled. It has two R's. I happen > to know this one very well because I blew this word (or another form, > like "occurrence") in my 8th-grade spelling bee by only putting one R > in it. So you've brought up some memories here....... Sorry for digging out your long buried trauma from the 8th-grade spelling bee! This was not my intention and I will definitely correct the "Occured" in my example ;)