Lines Matching defs:g_SelfKey
83 static pthread_key_t g_SelfKey;
185 int rc = pthread_key_create(&g_SelfKey, rtThreadKeyDestruct);
242 pthread_setspecific(g_SelfKey, pThread);
244 pthread_setspecific(g_SelfKey, NULL);
273 int rc = pthread_setspecific(g_SelfKey, pThread);
282 if (pThread == (PRTTHREADINT)pthread_getspecific(g_SelfKey))
283 pthread_setspecific(g_SelfKey, NULL);
309 int rc = pthread_setspecific(g_SelfKey, pThread);
326 pthread_setspecific(g_SelfKey, NULL);
377 PRTTHREADINT pThread = (PRTTHREADINT)pthread_getspecific(g_SelfKey);