Lines Matching defs:NativeThread

276         RTNATIVETHREAD NativeThread = RTThreadNativeSelf();
280 rtThreadInsert(pThread, NativeThread);
414 * @param NativeThread The native thread id.
416 DECLHIDDEN(void) rtThreadInsert(PRTTHREADINT pThread, RTNATIVETHREAD NativeThread)
441 PRTTHREADINT pThreadOther = (PRTTHREADINT)RTAvlPVGet(&g_ThreadTree, (void *)NativeThread);
456 ASMAtomicWritePtr(&pThread->Core.Key, (void *)NativeThread);
462 AssertReleaseMsg(fRc, ("Lock problem? %p (%RTnthrd) %s\n", pThread, NativeThread, pThread->szName));
521 * @param NativeThread The native thread id.
523 DECLHIDDEN(PRTTHREADINT) rtThreadGetByNative(RTNATIVETHREAD NativeThread)
530 pThread = (PRTTHREADINT)RTAvlPVGet(&g_ThreadTree, (void *)NativeThread);
690 * @param NativeThread The native thread id.
693 DECLCALLBACK(DECLHIDDEN(int)) rtThreadMain(PRTTHREADINT pThread, RTNATIVETHREAD NativeThread, const char *pszThreadName)
697 rtThreadInsert(pThread, NativeThread);
698 Log(("rtThreadMain: Starting: pThread=%p NativeThread=%RTnthrd Name=%s pfnThread=%p pvUser=%p\n",
699 pThread, NativeThread, pThread->szName, pThread->pfnThread, pThread->pvUser));
707 pThread, NativeThread, pThread->szName, pThread->enmType, g_enmProcessPriority, rc));
710 pThread, NativeThread, pThread->szName, pThread->enmType, rc));
729 Log(("rtThreadMain: Terminating: rc=%d pThread=%p NativeThread=%RTnthrd Name=%s pfnThread=%p pvUser=%p\n",
730 rc, pThread, NativeThread, pThread->szName, pThread->pfnThread, pThread->pvUser));
789 RTNATIVETHREAD NativeThread;
795 rc = rtThreadNativeCreate(pThreadInt, &NativeThread);
798 rtThreadInsert(pThreadInt, NativeThread);
800 Log(("RTThreadCreate: Created thread %p (%p) %s\n", pThreadInt, NativeThread, pszName));
882 RTNATIVETHREAD NativeThread = (RTNATIVETHREAD)pThread->Core.Key;
884 return NativeThread;
896 * @param NativeThread The native thread handle/id.
898 RTDECL(RTTHREAD) RTThreadFromNative(RTNATIVETHREAD NativeThread)
900 PRTTHREADINT pThread = rtThreadGetByNative(NativeThread);