thread accounting in libpthread

David Xu davidxu at freebsd.org
Sat Feb 19 16:40:30 PST 2005


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.




More information about the freebsd-threads mailing list