From owner-freebsd-threads@FreeBSD.ORG Mon Feb 21 01:02:01 2005 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 CD8E616A4CE; Mon, 21 Feb 2005 01:02:01 +0000 (GMT) Received: from pimout2-ext.prodigy.net (pimout2-ext.prodigy.net [207.115.63.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6AF7E43D1D; Mon, 21 Feb 2005 01:02:01 +0000 (GMT) (envelope-from julian@elischer.org) Received: from [192.168.1.102] (adsl-68-120-130-255.dsl.snfc21.pacbell.net [68.120.130.255])j1L11xuq067496; Sun, 20 Feb 2005 20:02:00 -0500 Message-ID: <42193303.2090500@elischer.org> Date: Sun, 20 Feb 2005 17:01:55 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050214 X-Accept-Language: en, hu MIME-Version: 1.0 To: David Xu References: <4217DD2A.4030603@freebsd.org> In-Reply-To: <4217DD2A.4030603@freebsd.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: Daniel Eischen cc: threads@freebsd.org Subject: Re: thread accounting in libpthread 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, 21 Feb 2005 01:02:01 -0000 David Xu wrote: > Daniel Eischen wrote: > >> ... >> >> since it will be the only thread in the queue. If N threads >> complete (assuming they are all at the same priority) then >> the first thread pulled from the completed list will be >> run first since it will be the first thread added to the >> run queue. >> >> >> > note that kernel adds completed thread in reversed order. I guess we could fix that easily with a tail pointer. > > > _______________________________________________ > 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"