Searched defs:NativeThread (Results 1 - 7 of 7) sorted by relevance

/vbox/src/VBox/Runtime/r0drv/linux/
H A Dthread2-r0drv-linux.c139 struct task_struct *NativeThread; local
143 NativeThread = kthread_run(rtThreadNativeMain, pThreadInt, "iprt-%s", pThreadInt->szName);
145 if (IS_ERR(NativeThread))
148 *pNativeThread = (RTNATIVETHREAD)NativeThread;
/vbox/src/VBox/Runtime/r0drv/haiku/
H A Dthread2-r0drv-haiku.c126 thread_id NativeThread; local
129 NativeThread = spawn_kernel_thread(rtThreadNativeMain, pThreadInt->szName, B_NORMAL_PRIORITY, pThreadInt);
130 if (NativeThread >= B_OK)
132 resume_thread(NativeThread);
133 *pNativeThread = (RTNATIVETHREAD)NativeThread;
136 return RTErrConvertFromHaikuKernReturn(NativeThread);
/vbox/src/VBox/Runtime/r0drv/darwin/
H A Dthread2-r0drv-darwin.cpp176 thread_t NativeThread; local
177 kern_return_t kr = kernel_thread_start(rtThreadNativeMain, pThreadInt, &NativeThread);
180 *pNativeThread = (RTNATIVETHREAD)NativeThread;
181 thread_deallocate(NativeThread);
/vbox/src/VBox/Runtime/include/internal/
H A Dthread.h227 DECLCALLBACK(DECLHIDDEN(int)) rtThreadMain(PRTTHREADINT pThread, RTNATIVETHREAD NativeThread, const char *pszThreadName);
230 DECLHIDDEN(PRTTHREADINT) rtThreadGetByNative(RTNATIVETHREAD NativeThread); variable
237 DECLHIDDEN(void) rtThreadInsert(PRTTHREADINT pThread, RTNATIVETHREAD NativeThread);
/vbox/include/iprt/
H A Dthread.h334 * @param NativeThread The native thread handle/id.
336 RTDECL(RTTHREAD) RTThreadFromNative(RTNATIVETHREAD NativeThread); variable
/vbox/src/VBox/Runtime/common/misc/
H A Dthread.cpp276 RTNATIVETHREAD NativeThread = RTThreadNativeSelf(); local
280 rtThreadInsert(pThread, NativeThread);
414 * @param NativeThread The native thread id.
416 DECLHIDDEN(void) rtThreadInsert(PRTTHREADINT pThread, RTNATIVETHREAD NativeThread) argument
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) argument
530 pThread = (PRTTHREADINT)RTAvlPVGet(&g_ThreadTree, (void *)NativeThread);
693 rtThreadMain(PRTTHREADINT pThread, RTNATIVETHREAD NativeThread, const char *pszThreadName) argument
789 RTNATIVETHREAD NativeThread; local
882 RTNATIVETHREAD NativeThread = (RTNATIVETHREAD)pThread->Core.Key; local
898 RTThreadFromNative(RTNATIVETHREAD NativeThread) argument
[all...]
/vbox/src/VBox/Runtime/common/log/
H A Dlog.cpp276 RTNATIVETHREAD volatile NativeThread; member in struct:RTLOGGERPERTHREAD
2598 if (g_aPerThreadLoggers[i].NativeThread == Self)
2634 if (g_aPerThreadLoggers[i].NativeThread == Self)
2687 if (g_aPerThreadLoggers[i].NativeThread == Self)
2710 if ( g_aPerThreadLoggers[i].NativeThread == NIL_RTNATIVETHREAD
2711 && ASMAtomicCmpXchgPtr((void * volatile *)&g_aPerThreadLoggers[i].NativeThread, (void *)Self, (void *)NIL_RTNATIVETHREAD))
2730 if ( g_aPerThreadLoggers[i].NativeThread == Self
2735 ASMAtomicWriteHandle(&g_aPerThreadLoggers[i].NativeThread, NIL_RTNATIVETHREAD);

Completed in 134 milliseconds