The present invention provides a method and apparatus for managing resources
in a multithreaded processor. In one embodiment, a resource is partitioned into
a number of portions based upon a number of threads being executed concurrently.
Resource allocation for each thread is performed in its respective portion of the resource.