Home | History | Annotate | Download | only in vtune

Lines Matching refs:ThreadStack

136 } ThreadStack, *pThreadStack;
203 pThreadStack threadStack = (pThreadStack)TlsGetValue (threadLocalStorageHandle);
205 pThreadStack threadStack = (pThreadStack)pthread_getspecific(threadLocalStorageHandle);
212 if (!threadStack)
215 threadStack = (pThreadStack) calloc (sizeof(ThreadStack), 1);
216 threadStack->TopStack = INIT_TOP_Stack;
217 threadStack->CurrentStack = INIT_TOP_Stack;
219 TlsSetValue(threadLocalStorageHandle,(void*)threadStack);
221 pthread_setspecific(threadLocalStorageHandle,(void*)threadStack);
226 ((piJIT_Method_NIDS) EventSpecificData)->stack_id = (threadStack->CurrentStack)--;
238 pThreadStack threadStack = (pThreadStack)TlsGetValue (threadLocalStorageHandle);
240 pThreadStack threadStack = (pThreadStack)pthread_getspecific(threadLocalStorageHandle);
247 if (!threadStack)
253 ((piJIT_Method_NIDS) EventSpecificData)->stack_id = ++(threadStack->CurrentStack) + 1;
255 if (((piJIT_Method_NIDS) EventSpecificData)->stack_id > threadStack->TopStack)
444 pThreadStack threadStack = (pThreadStack)TlsGetValue (threadLocalStorageHandle);
446 pThreadStack threadStack = (pThreadStack)pthread_getspecific(threadLocalStorageHandle);
448 if (threadStack)
450 free (threadStack);
451 threadStack = NULL;
453 TlsSetValue (threadLocalStorageHandle, threadStack);
455 pthread_setspecific(threadLocalStorageHandle, threadStack);