Invention Grant
US07689971B2 Method and apparatus for referencing thread local variables with stack address mapping
失效
使用堆栈地址映射引用线程局部变量的方法和装置
- Patent Title: Method and apparatus for referencing thread local variables with stack address mapping
- Patent Title (中): 使用堆栈地址映射引用线程局部变量的方法和装置
-
Application No.: US10916160Application Date: 2004-08-09
-
Publication No.: US07689971B2Publication Date: 2010-03-30
- Inventor: Jinzhan Peng , Xiaohua Shi , Guei-Yuan Lueh , Gansha Wu
- Applicant: Jinzhan Peng , Xiaohua Shi , Guei-Yuan Lueh , Gansha Wu
- Applicant Address: US CA Santa Clara
- Assignee: Intel Corporation
- Current Assignee: Intel Corporation
- Current Assignee Address: US CA Santa Clara
- Agency: Trop, Pruner & Hu, P.C.
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F9/45 ; G06F9/46 ; G06F12/10 ; G06F9/26

Abstract:
Methods and apparatuses provide for referencing thread local variables (TLVs) with techniques such as stack address mapping. A method may involve a head pointer that points to a set of thread local variables (TLVs) of a thread. A method according to one embodiment may include an operation for storing the head pointer in a global data structure in a user space of a processing system. The head pointer may subsequently be retrieved from the global data structure and used to access one or more TLVs associated with the thread. In one embodiment, the head pointer is retrieved without executing any kernel system calls. In an example embodiment, the head pointer is stored in a global array, and a stack address for the thread is used to derive an index into the array. Other embodiments are described and claimed.
Public/Granted literature
- US20060031810A1 Method and apparatus for referencing thread local variables with stack address mapping Public/Granted day:2006-02-09
Information query