Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Feb 2005 17:01:55 -0800
From:      Julian Elischer <julian@elischer.org>
To:        David Xu <davidxu@freebsd.org>
Cc:        threads@freebsd.org
Subject:   Re: thread accounting in libpthread
Message-ID:  <42193303.2090500@elischer.org>
In-Reply-To: <4217DD2A.4030603@freebsd.org>
References:  <Pine.GSO.4.43.0502191404330.22284-100000@sea.ntplx.net> <4217DD2A.4030603@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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"



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