System and method for handling dependencies in dynamic thread spawning for a multi-threading processor
AssigneeBeijing Panyi Technology Co., Ltd.
InventorXingzhi Wen
Life of this patent
Estimating the term…
Loading patent…
AssigneeBeijing Panyi Technology Co., Ltd.
InventorXingzhi Wen
Estimating the term…
Aspects of the present disclosure are presented for a multi-threaded system configured to efficiently handle dynamic thread spawning. When a child thread is spawned when executing a program, it may be possible that the parent thread needs the child thread ID for initialization. However, to get the child thread ID, the child thread may need to be generated, and once it is generated, it could be executed immediately, even before the initialization finishes, causing an error. The present disclosure introduces a memory efficient solution through use of a control circuit configured to control when child threads can be executed while still enabling the parent threads to obtain the child thread IDs.
A method for executing child threads of a multi-threading system comprising a master thread control unit (MTCU), a plurality of thread control units (TCUs), and a memory storing a low thread parent register, a high thread parent register, and at least one child ID register, the method comprising:
A multi-threaded system comprising:
Dependencies are inferred from the claim text.