摘要 |
<p>The present invention relates to a method of accessing thread private data in a computer for a program to be executed by using multiple threads, where each one of the multiple threads is associated with a dedicated data area of a respective stack for storage of thread private data, the stacks covering a coherent address space in a memory of the computer starting at a base address, the method comprising: determining of a thread identifier of one of the threads on the basis of the base address and a stack pointer of the one of threads, accessing thread private data of one of the threads being identified by the thread identifier. <IMAGE></p> |