From owner-freebsd-threads@FreeBSD.ORG Mon Feb 9 14:24:43 2004 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 327D016A4CE; Mon, 9 Feb 2004 14:24:43 -0800 (PST) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.202.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB67543D1D; Mon, 9 Feb 2004 14:24:42 -0800 (PST) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([24.7.73.28]) by comcast.net (sccrmhc13) with ESMTP id <2004020922244101600fdiube>; Mon, 9 Feb 2004 22:24:42 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id OAA71337; Mon, 9 Feb 2004 14:24:40 -0800 (PST) Date: Mon, 9 Feb 2004 14:24:39 -0800 (PST) From: Julian Elischer To: John Baldwin In-Reply-To: <200402091641.37061.jhb@FreeBSD.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: threads@FreeBSD.org Subject: Re: TDF_INTERRUPT X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2004 22:24:43 -0000 looking at: http://snapshots.jp.freebsd.org/tour/current/kernel/R/47434.html I see: 184 kern/subr_trap.c TDF_NEEDRESCHED | TDF_OWEUPC | TDF_INTERRUPT); and 445 kern/kern_thread.c td2->td_flags &= ~TDF_INTERRUPT; I think this is right.. the flag is not removed until the signal is deliverred.. On Mon, 9 Feb 2004, John Baldwin wrote: > Is there a specific reason that this flag isn't cleared after being checked in > msleep(), cv_wait_sig(), and cv_timedwait_sig() or is it just a bug? > > -- > John Baldwin <>< http://www.FreeBSD.org/~jhb/ > "Power Users Use the Power to Serve" = http://www.FreeBSD.org > > _______________________________________________ > freebsd-threads@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-threads > To unsubscribe, send any mail to "freebsd-threads-unsubscribe@freebsd.org" >