Lines Matching defs:Thread
121 RTTHREAD Thread;
495 pTimer->Thread = NIL_RTTHREAD;
507 rc = RTThreadCreate(&pTimer->Thread, rttimerThread, pTimer, 0, RTTHREADTYPE_TIMER, RTTHREADFLAGS_WAITABLE, "Timer");
515 rc = RTThreadUserWait(pTimer->Thread, 45*1000);
519 rc = RTThreadUserReset(pTimer->Thread); AssertRC(rc);
533 RTThreadWait(pTimer->Thread, 45*1000, NULL);
652 AssertReturn(pTimer->Thread != RTThreadSelf(), VERR_INTERNAL_ERROR);
680 RTTHREAD Thread = NIL_RTTHREAD;
684 Thread = g_TimerThread;
689 RTTHREAD Thread = pTimer->Thread;
693 if (Thread != NIL_RTTHREAD)
696 pthread_kill((pthread_t)RTThreadGetNative(Thread), RT_TIMER_SIGNAL);
701 rc = RTThreadWait(Thread, 30 * 1000, NULL);
729 AssertReturn(pTimer->Thread != RTThreadSelf(), VERR_INTERNAL_ERROR);
744 RTThreadUserReset(pTimer->Thread);
751 rc = RTThreadUserWait(pTimer->Thread, 45*1000);
753 RTThreadUserReset(pTimer->Thread);
796 RTThreadUserReset(pTimer->Thread);
799 if (RTThreadSelf() != pTimer->Thread)
801 pthread_kill((pthread_t)RTThreadGetNative(pTimer->Thread), RT_TIMER_SIGNAL);
802 rc = RTThreadUserWait(pTimer->Thread, 45*1000);
804 RTThreadUserReset(pTimer->Thread);