Date: Mon, 21 Feb 2005 01:04:42 -0500 (EST) From: Daniel Eischen <deischen@freebsd.org> To: Julian Elischer <julian@elischer.org> Cc: David Xu <davidxu@freebsd.org> Subject: Re: thread accounting in libpthread Message-ID: <Pine.GSO.4.43.0502210103140.29654-100000@sea.ntplx.net> In-Reply-To: <42193303.2090500@elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 20 Feb 2005, Julian Elischer wrote: > 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. I don't know that it matters much. With the work-around I posted, it made matters even worse for the test case. I'm not against you changing the ordering in the kenel if you think that is best. -- DE
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.43.0502210103140.29654-100000>