Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jun 2004 13:44:36 -0700 (PDT)
From:      Julian Elischer <julian@elischer.org>
To:        Don Lewis <truckman@FreeBSD.org>
Cc:        bde@zeta.org.au
Subject:   Re: calcru: negative time ... followed by freeze
Message-ID:  <Pine.BSF.4.21.0406211344150.39567-100000@InterJet.elischer.org>
In-Reply-To: <200406211907.i5LJ7gRm049126@gw.catspoiler.org>

next in thread | previous in thread | raw e-mail | index | archive | help


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.

fixed.. 

thanks




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0406211344150.39567-100000>