Subject: RE: signal handler context...
To: 'Alfred Perlstein' <>
From: Stephane St Hilaire <>
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 ?


-----Original Message-----
From: Alfred Perlstein []
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 <> [011214 09:40] wrote:
> Is there a way/system call available for user land code to find out if it
> running from a signal handler or not ?

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

-Alfred Perlstein []
'Instead of asking why a piece of software is using "1970s technology,"
 start asking why software is ignoring 30 years of accumulated wisdom.'