Shared resources in a data processing appartus for executing a plurality of threads
A technology of data processing equipment and shared resources, which is applied in the direction of electrical digital data processing, multi-program device, program control design, etc., and can solve problems such as inability to execute threads with shared resource access rights, system suspension, and threads not allowed to execute, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0030] In one example, a subset of threads has been associated with at least one locking parameter in order to track which thread in the subset has exclusive access to the shared resource. The processor may modify at least one locking parameter in response to the first instruction executed by the thread, thereby indicating that the thread has obtained exclusive access to the shared resource. Similarly, the processor may modify at least one locking parameter in response to the second instruction, thereby indicating that the thread no longer has exclusive access to the shared resource. In selecting selected threads (whose thread program counters are used as the value of the general program counter) and thereby determining which instruction to execute next for a subset of threads, the data processing apparatus may take into account at least one locking parameter. By choosing the value of the general program counter based on locking parameters, it is possible to control which thre...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


