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,c2650880fba54b9e X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!f14g2000cwb.googlegroups.com!not-for-mail From: "Thorsten" Newsgroups: comp.lang.ada Subject: Re: Interrupt handler seems not to be called in GNAT 3.15p Date: 17 Jun 2005 01:33:05 -0700 Organization: http://groups.google.com Message-ID: <1118997185.275734.225880@f14g2000cwb.googlegroups.com> References: <1118849941.554713.60100@g14g2000cwa.googlegroups.com> NNTP-Posting-Host: 195.226.123.200 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1118997190 14559 127.0.0.1 (17 Jun 2005 08:33:10 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 17 Jun 2005 08:33:10 +0000 (UTC) User-Agent: G2/0.2 Complaints-To: groups-abuse@google.com Injection-Info: f14g2000cwb.googlegroups.com; posting-host=195.226.123.200; posting-account=jGHaLA0AAAANZvivCTObYBZ3awmy43dc Xref: g2news1.google.com comp.lang.ada:11446 Date: 2005-06-17T01:33:05-07:00 List-Id: I did some further investigation on this: I added a boolean variable, which is set when the exception handler within the "for I in THE_BUFFER'range"-loop is called. If this is the case, I exit the loop, print out some text to inform the user and everything is fine. However, as soon as the MONITOR.DUMP routine is called a second time and gets an interrupt, the program terminates immediately. I.e. there is no exception raised as was with the first call. It seems to me the interrupt is still pending somewhere and as soon as a second interrupt comes in, the program exits. Is this normal for interrupts (I'm new on this field, so I don't know anything that may be obvious to others)? Regards, Thorsten