1. A method comprising: storing a head pointer in a global data structure in a user space of a processing system, wherein the head pointer points to a set of thread local variables (TLVs) of a thread; retrieving the head pointer from the global data structure; and using the head pointer to access a TLV associated with the thread.