摘要 |
<p>PROBLEM TO BE SOLVED: To provide a multi-thread processor capable of flexibly setting an execution time of a hardware thread while granting a minimum execution time of the hardware thread.SOLUTION: A multi-thread processor comprises: a plurality of hardware threads; a first thread scheduler 19 for designating a hardware thread in accordance with a priority; and an arithmetic circuit 10 for executing an instruction generated by the designated hardware thread. Each time a hardware thread of a high priority is preferentially selected and an instruction generated by the selected hardware thread is executed in the arithmetic circuit, the first thread scheduler 19 updates the priority for the hardware thread which generates the executed instruction, and selects at least one other hardware thread until the priority of the hardware having the highest priority becomes the lowest priority.</p> |