From owner-cvs-all Fri Jul 5 22: 0:24 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D95637B400; Fri, 5 Jul 2002 22:00:16 -0700 (PDT) Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 58D1143E09; Fri, 5 Jul 2002 22:00:15 -0700 (PDT) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc53.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020706050014.UTBH15755.rwcrmhc53.attbi.com@InterJet.elischer.org>; Sat, 6 Jul 2002 05:00:14 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id VAA16541; Fri, 5 Jul 2002 21:59:57 -0700 (PDT) Date: Fri, 5 Jul 2002 21:59:55 -0700 (PDT) From: Julian Elischer To: David Xu Cc: Julian Elischer , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/kern kern_synch.c In-Reply-To: <20020706032222.91526.qmail@web20908.mail.yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 the checkin I just made is a stopgap.. I'm thinking about rewriting some of the code there. On Fri, 5 Jul 2002, David Xu wrote: > > with "unsubscribe cvs-all" in the body of the message > > do we needn't check p->p_sigacts->ps_sigintr? > this change prevents this checking. > I would rather set rval = 0 but not ERESTART, > so ps_sigintr can be checked before return. It's possible that we should also check ps_sigintr in the first cursig() too, but I am not sure it is needed for thread_suspend_check(). The behaviour of threaded processes in the face of signals has not been fully defined yet. > > -David Xu > > > __________________________________________________ > Do You Yahoo!? > Sign up for SBC Yahoo! Dial - First Month Free > http://sbc.yahoo.com > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message