One embodiment disclosed relates to a method of distributing threads to
processors of a multiprocessor computer system. Prior to assigning a
thread at a current position in a thread list to a current processor
number, a determination is made as to whether the thread is to be moved
to a later position in the thread list. If the determination is made that
the thread is to be moved, then the thread is moved to the later position
in the thread list. On the other hand, if the determination is made that
the thread is not to be moved, then the thread is assigned to the current
processor number. Other embodiments are also disclosed.