Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 May 2002 15:27:18 -0700
From:      Alfred Perlstein <bright@mu.org>
To:        Mike Silbersack <silby@silby.com>
Cc:        Doug White <dwhite@resnet.uoregon.edu>, Zhihui Zhang <zzhang@cs.binghamton.edu>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: kernel daemon clean up
Message-ID:  <20020520222718.GD54960@elvis.mu.org>
In-Reply-To: <20020520171426.Q4105-100000@patrocles.silby.com>
References:  <20020520220723.GB54960@elvis.mu.org> <20020520171426.Q4105-100000@patrocles.silby.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* Mike Silbersack <silby@silby.com> [020520 15:15] wrote:
> 
> On Mon, 20 May 2002, Alfred Perlstein wrote:
> 
> > level not edge.  I think you can also use the CURSIG macro to check
> > for pending signals if you don't want to yeild.
> >
> > --
> > -Alfred Perlstein [alfred@freebsd.org]
> 
> Is any of this documented right now?  I had a use for checking whether a
> kill signal was present for a process inside the vm system a few months
> back, but didn't believe it was possible without causing side effects.  If
> I can check for signals easily, that would be a big plus.

Why not crib from the sys/signalvar.h:SIGPENDING() macro?

Add it to a manpage someplace. :)

-- 
-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.'
Tax deductible donations for FreeBSD: http://www.freebsdfoundation.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020520222718.GD54960>