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 Path: g2news2.google.com!postnews.google.com!v17g2000vbb.googlegroups.com!not-for-mail From: =?ISO-8859-1?Q?Hibou57_=28Yannick_Duch=EAne=29?= Newsgroups: comp.lang.ada Subject: Re: Interrupt handler and Ada.Real_Time.Timing_Events Date: Fri, 15 May 2009 16:24:36 -0700 (PDT) Organization: http://groups.google.com Message-ID: <9bb797f0-b473-4200-8743-35704608972b@v17g2000vbb.googlegroups.com> References: NNTP-Posting-Host: 77.198.58.239 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1242429876 3543 127.0.0.1 (15 May 2009 23:24:36 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 15 May 2009 23:24:36 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: v17g2000vbb.googlegroups.com; posting-host=77.198.58.239; posting-account=vrfdLAoAAAAauX_3XwyXEwXCWN3A1l8D User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; fr),gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:5864 Date: 2009-05-15T16:24:36-07:00 List-Id: On 15 mai, 18:56, Ludovic Brenta wrote: > Ada.Real_Time.Timing_Events's elaboration block creates a task and > promotes it to an outer level (i.e. it is no longer dependent on a > master). =A0The only way to terminate this task is by sending it > SIGTERM, so the task attaches another signal handler to SIGTERM before > yours. =A0That handler catches the signal and does not propagate it to > any other handler. =A0See System.Task_Primitives.Operations.Initialize. > > I'm afraid there is no way out :) maybe you can use another signal in > your task? > > -- > Ludovic Brenta. Do you know why it is not propagated ? SIGTERM is supposed to be intended to the whole of an application, not only to a pat of it.