From owner-freebsd-hackers Mon May 20 15:27:22 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id 9061737B411 for ; Mon, 20 May 2002 15:27:18 -0700 (PDT) Received: by elvis.mu.org (Postfix, from userid 1192) id 56E01AE160; Mon, 20 May 2002 15:27:18 -0700 (PDT) Date: Mon, 20 May 2002 15:27:18 -0700 From: Alfred Perlstein To: Mike Silbersack Cc: Doug White , Zhihui Zhang , freebsd-hackers@FreeBSD.ORG Subject: Re: kernel daemon clean up Message-ID: <20020520222718.GD54960@elvis.mu.org> References: <20020520220723.GB54960@elvis.mu.org> <20020520171426.Q4105-100000@patrocles.silby.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020520171426.Q4105-100000@patrocles.silby.com> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Mike Silbersack [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