Shared resources in a data processing apparatus for executing a plurality of threads
AssigneeArm Limited
InventorsRune HOLM, David Hennah MANSELL
Life of this patent
Estimating the term…
Loading patent…
AssigneeArm Limited
InventorsRune HOLM, David Hennah MANSELL
Estimating the term…
A data processing apparatus (100) executes threads and includes a general program counter (PC) (120) identifying an instruction to be executed for at least a subset of the threads. Each thread has a thread PC (184). The subset of threads has at least one lock parameter (188, 500-504) for tracking exclusive access to shared resources. In response to a first instruction executed for a thread, the processor (160) modifies the at least one lock parameter (188), (500-504) to indicate that the thread has gained exclusive access to the shared resource. In response to a second instruction, the processor modifies the at least one lock parameter (188, 500-504) to indicate that the thread no longer has exclusive access. A selector (110) selects one of the subset of threads based on the at least one lock parameter (188, 500-504) and sets the general PC (120) to the thread PC (184) of the selected thread.
1-27. (canceled)
A data processing apparatus configured to execute a plurality of threads, the data processing apparatus comprising:
A data processing method for executing a stream of instructions for a subset of a plurality of threads, wherein each thread in the subset has an associated thread program counter for identifying one instruction in the stream of instructions, the data processing method comprising the steps:
A data processing apparatus configured to execute a plurality of threads, the data processing apparatus comprising:
Dependencies are inferred from the claim text.