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,FREEMAIL_FROM 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!postnews.google.com!g19g2000vbi.googlegroups.com!not-for-mail From: sjw Newsgroups: comp.lang.ada Subject: Re: Interrupt handler and Ada.Real_Time.Timing_Events Date: Fri, 15 May 2009 23:28:47 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: NNTP-Posting-Host: 82.20.239.89 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1242455327 17056 127.0.0.1 (16 May 2009 06:28:47 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 16 May 2009 06:28:47 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: g19g2000vbi.googlegroups.com; posting-host=82.20.239.89; posting-account=_RXWmAoAAADQS3ojtLFDmTNJCT0N2R4U User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6; en-us) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1,gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:5867 Date: 2009-05-15T23:28:47-07:00 List-Id: On Mac OS X/GCC 4.3.3, the program as written outputs "raised PROGRAM_ERROR : Interrupt 15 is reserved". Changed to SIGUSR1: now runs as designed. Sending SIGTERM is ignored (this seems odd). Uncomment Timing_Events: doesn't report anything, but ps shows "User defined signal 1 ./interrupt_problem" and when I run ps again the process has gone. This is all deep stuff (and apparently OS-dependent)! If I had this sort of problem at work, I would raise a ticket with AdaCore straight away.