comp.lang.ada
 help / color / mirror / Atom feed
From: "Thorsten" <thorsten.behrens@dorunth.de>
Subject: Re: Interrupt handler seems not to be called in GNAT 3.15p
Date: 16 Jun 2005 02:36:47 -0700
Date: 2005-06-16T02:36:47-07:00	[thread overview]
Message-ID: <1118914607.912882.192740@g47g2000cwa.googlegroups.com> (raw)
In-Reply-To: d8rbfi$o7m$1@kda-news.kongsberg.com

Hi Egil!

> Have you looked at pragma Attach_Handler?
>
> pragma Unreserve_All_Interrupts;
> protected Handler is
>    procedure Handle_SIGSEGV;
>    pragma Attach_Handler( Handle_SIGSEGV, Ada.Interrupts.Names.SIGSEGV );
> end Handler;

Yes, I also tried with a static signal handler. There is no difference
in behaviour.

I also tried with a task type insted of a protected object - which also
makes no difference.

Regards,
Thorsten




  reply	other threads:[~2005-06-16  9:36 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-15 15:39 Interrupt handler seems not to be called in GNAT 3.15p Thorsten
2005-06-16  6:52 ` David C. Hoos, Sr.
2005-06-16  7:38   ` Thorsten
2005-06-16  8:03 ` Egil H. H�vik
2005-06-16  9:36   ` Thorsten [this message]
2005-06-17  8:33 ` Thorsten
2005-06-17  8:47   ` Duncan Sands
2005-06-22 10:04     ` Thorsten
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox