Lines Matching defs:Thread
3 * PDM Thread - VM Thread Management.
39 static DECLCALLBACK(int) pdmR3ThreadMain(RTTHREAD Thread, void *pvUser);
112 pThread->Thread = NIL_RTTHREAD;
149 * The newly created thread will set the PDMTHREAD::Thread member.
151 RTTHREAD Thread;
152 rc = RTThreadCreate(&Thread, pdmR3ThreadMain, pThread, cbStack, enmType, RTTHREADFLAGS_WAITABLE, pszName);
155 rc = RTThreadUserWait(Thread, 60*1000);
173 rc = RTThreadUserReset(Thread);
179 RTThreadWait(Thread, 60*1000, NULL);
374 Assert(pThread->Thread != RTThreadSelf());
423 rc2 = RTThreadWait(pThread->Thread, RT_SUCCESS(rc) ? 60*1000 : 150, pRcThread);
429 pThread->Thread = NIL_RTTHREAD;
650 Assert(pThread->Thread == RTThreadSelf() || pThread->enmState == PDMTHREADSTATE_INITIALIZING);
661 rc = RTThreadUserSignal(pThread->Thread);
697 Assert(pThread->Thread == RTThreadSelf());
705 rc = RTThreadUserSignal(pThread->Thread);
735 AssertReturn(pThread->Thread == RTThreadSelf(), VERR_PDM_THREAD_INVALID_CALLER);
752 * @param Thread The thread handle.
755 static DECLCALLBACK(int) pdmR3ThreadMain(RTTHREAD Thread, void *pvUser)
758 Log(("PDMThread: Initializing thread %RTthrd / %p / '%s'...\n", Thread, pThread, RTThreadGetName(Thread)));
759 pThread->Thread = Thread;
831 LogRel(("PDMThread: Thread '%s' (%RTthrd) quit unexpectedly with rc=%Rrc.\n", RTThreadGetName(Thread), Thread, rc));
845 int rc2 = RTThreadUserSignal(Thread); AssertRC(rc2);
850 Log(("PDMThread: Terminating thread %RTthrd / %p / '%s': %Rrc\n", Thread, pThread, RTThreadGetName(Thread), rc));
919 Assert(pThread->Thread != RTThreadSelf());
933 rc = RTThreadUserReset(pThread->Thread);
946 rc = RTThreadUserWait(pThread->Thread, 60*1000);
961 rc, pThread->enmState, RTThreadGetName(pThread->Thread)));
1023 Assert(pThread->Thread != RTThreadSelf());
1028 int rc = RTThreadUserReset(pThread->Thread);
1040 rc = RTThreadUserWait(pThread->Thread, 60*1000);