Method and apparatus for managing thread private data in a parallel processing computer
AssigneeKabushiki Kaisha Toshiba
InventorToshio Shirakihara
Life of this patent
Estimating the term…
Loading patent…
AssigneeKabushiki Kaisha Toshiba
InventorToshio Shirakihara
Estimating the term…
A method and an apparatus for managing thread private data in which the thread private data can be declared globally and which can deal with the change of the number of threads. The thread private data to be globally accessible from the multiple threads and to be managed separately by each one of the multiple threads are detected before the actual execution of the program, and a thread private data region for managing all the detected thread private data is allocated to the stack for each one of the multiple threads separately. Then, a pointer to specify a base address of the thread private data region with respect to the stack for each one of the multiple threads is registered separately, such that while executing one of the multiple threads, accesses to the thread private data are made by making accesses to the thread private data region in the stack for that one of the multiple threads according to the base address specified by the pointer registered for that one of the multiple threads.
A method of managing thread private data in a computer, for a program to be executed by using multiple threads provided with respect to a single task defining address space, where each one of the multiple threads is associated with a different stack for managing local data of said each one of the multiple threads, the method comprising the steps of:
An apparatus for managing thread private data in a computer, for a program to be executed by using multiple threads provided with respect to a single task defining an address space, where each one of the multiple threads is associated with a different stack for managing local data of said each one of the multiple threads, the apparatus comprising:
A method of allocating and using thread private data in a computer program to be executed by using multiple threads in the address space of a single task, where each one of the multiple threads is associated with a different stack for storing the local data of said each one of the multiple threads, the method comprising the steps of:
A system for allocating and using thread private data in a computer program to be executed by using multiple threads in the address space of a single task, where each one of the multiple threads is associated with a different stack for storing the local data of said each one of the multiple threads, the method comprising the steps of:
Dependencies are inferred from the claim text.