Lines Matching refs:pThread

457 static DECLCALLBACK(int) drvHostSerialSendThread(PPDMDRVINS pDrvIns, PPDMTHREAD pThread)
461 if (pThread->enmState == PDMTHREADSTATE_INITIALIZING)
473 while (pThread->enmState == PDMTHREADSTATE_RUNNING)
482 while (pThread->enmState == PDMTHREADSTATE_RUNNING)
496 while (pThread->enmState == PDMTHREADSTATE_RUNNING)
542 AssertMsg(pThread->enmState != PDMTHREADSTATE_RUNNING, ("The halt event semaphore is set but the thread is still in running state\n"));
569 * @param pThread The send thread.
571 static DECLCALLBACK(int) drvHostSerialWakeupSendThread(PPDMDRVINS pDrvIns, PPDMTHREAD /*pThread*/)
600 static DECLCALLBACK(int) drvHostSerialRecvThread(PPDMDRVINS pDrvIns, PPDMTHREAD pThread)
609 if (pThread->enmState == PDMTHREADSTATE_INITIALIZING)
621 while (pThread->enmState == PDMTHREADSTATE_RUNNING)
653 if (pThread->enmState != PDMTHREADSTATE_RUNNING)
712 if (pThread->enmState != PDMTHREADSTATE_RUNNING)
752 AssertMsg(pThread->enmState != PDMTHREADSTATE_RUNNING, ("The halt event semaphore is set but the thread is still in running state\n"));
764 if (pThread->enmState != PDMTHREADSTATE_RUNNING)
853 * @param pThread The send thread.
855 static DECLCALLBACK(int) drvHostSerialWakeupRecvThread(PPDMDRVINS pDrvIns, PPDMTHREAD /*pThread*/)
884 static DECLCALLBACK(int) drvHostSerialMonitorThread(PPDMDRVINS pDrvIns, PPDMTHREAD pThread)
890 if (pThread->enmState == PDMTHREADSTATE_INITIALIZING)
921 if (PDMTHREADSTATE_RUNNING != pThread->enmState)
937 PDMR3ThreadSleep(pThread, 500); /* 0.5 sec */
941 while (PDMTHREADSTATE_RUNNING == pThread->enmState);
953 * @param pThread The send thread.
955 static DECLCALLBACK(int) drvHostSerialWakeupMonitorThread(PPDMDRVINS pDrvIns, PPDMTHREAD pThread)
961 rc = RTThreadPoke(pThread->Thread);
971 NOREF(pThread);