thread accounting in libpthread
Julian Elischer
julian at elischer.org
Sun Feb 20 17:02:01 PST 2005
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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-threads
> To unsubscribe, send any mail to "freebsd-threads-unsubscribe at freebsd.org"
More information about the freebsd-threads
mailing list