Subject: RE: signal handler context...
To: 'Alfred Perlstein' <bright@mu.org>
From: Stephane St Hilaire <ssthilaire@hyperchip.com>
List: tech-kern
Date: 12/14/2001 15:42:15
Thanks, I guess.... 
but let's say I'm a library and being called from someone else's signal
handling routine ?

Steph



-----Original Message-----
From: Alfred Perlstein [mailto:bright@mu.org]
Sent: Friday, December 14, 2001 12:41 PM
To: Stephane St Hilaire
Cc: NETBSD tech-kern (E-mail)
Subject: Re: signal handler context...


* Stephane St Hilaire <ssthilaire@hyperchip.com> [011214 09:40] wrote:
> Is there a way/system call available for user land code to find out if it
is
> running from a signal handler or not ?

Yes, by setting up your handler routine to record this information.

-- 
-Alfred Perlstein [alfred@freebsd.org]
'Instead of asking why a piece of software is using "1970s technology,"
 start asking why software is ignoring 30 years of accumulated wisdom.'
                           http://www.morons.org/rants/gpl-harmful.php3