Invention Grant
US07689971B2 Method and apparatus for referencing thread local variables with stack address mapping 失效
使用堆栈地址映射引用线程局部变量的方法和装置

Method and apparatus for referencing thread local variables with stack address mapping
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.
Information query
Patent Agency Ranking
0/0