From owner-cvs-all Thu Apr 4 7:20:11 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 517EA37B419; Thu, 4 Apr 2002 07:19:42 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g34FJgg64949; Thu, 4 Apr 2002 07:19:42 -0800 (PST) (envelope-from bde) Message-Id: <200204041519.g34FJgg64949@freefall.freebsd.org> From: Bruce Evans Date: Thu, 4 Apr 2002 07:19:41 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_sig.c src/sys/sys signalvar.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG bde 2002/04/04 07:19:41 PST Modified files: sys/kern kern_sig.c sys/sys signalvar.h Log: Optimized the check for unmasked pending signals in CURSIG() using a new inline function sigsetmasked() and a new macro SIGPENDING(). CURSIG() will soon be moved out of the normal path of execution for syscalls and traps. Then its efficiency will be less important but the new interfaces will be useful for checking for unmasked pending signals in more places. Submitted by: luoqi (long ago, in a slightly different form) Assert that sched_lock is not held in CURSIG(). Revision Changes Path 1.153 +2 -8 src/sys/kern/kern_sig.c 1.48 +23 -0 src/sys/sys/signalvar.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message