A method and apparatus are provided for implementing a variable-partitioned queue
for simultaneous multithreaded processors. A value is stored in a partition register.
A queue structure is divided between a plurality of threads responsive to the stored
value in the partition register. When a changed value is received for storing in
the partition register, the queue structure is divided between the plurality of
threads responsive to the changed value.