From owner-freebsd-current@FreeBSD.ORG Mon Jun 21 20:09:45 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5AE7316A503; Mon, 21 Jun 2004 20:09:44 +0000 (GMT) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C21443D58; Mon, 21 Jun 2004 20:09:41 +0000 (GMT) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([24.7.73.28]) by comcast.net (rwcrmhc11) with ESMTP id <2004062120093901300gddhje>; Mon, 21 Jun 2004 20:09:40 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id NAA39622; Mon, 21 Jun 2004 13:09:33 -0700 (PDT) Date: Mon, 21 Jun 2004 13:09:30 -0700 (PDT) From: Julian Elischer To: Don Lewis In-Reply-To: <200406211907.i5LJ7gRm049126@gw.catspoiler.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: threads@FreeBSD.org cc: rwatson@FreeBSD.org cc: current@FreeBSD.org Subject: Re: calcru: negative time ... followed by freeze X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2004 20:09:45 -0000 On Mon, 21 Jun 2004, Don Lewis wrote: > On 21 Jun, Bruce Evans wrote: > > On Mon, 21 Jun 2004, Don Lewis wrote: > > >> It also looks like a bug that a zombie remains in the [running] state > >> and thus looks interesting to ttyinfo(). > > > > I think it isn't really running. ttyinfo() should pick it if it is the > > only process the terminal. ttyinfo() does pick it for the zombie in the > > test program in the PR, and reports that it is running, but ps reports > > it correctly as a zomble. > > ttyinfo() prints "[running]" if TD_IS_RUNNING(td) is true. I think the > problem is that thread_exit() doesn't set td_state to TDS_INACTIVE if > the process only has one thread. thanks.. I'll fix that... julian > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >