Searched refs:ahThreads (Results 1 - 5 of 5) sorted by relevance
/vbox/src/VBox/Runtime/testcase/ |
H A D | tstThread-1.cpp | 57 RTTHREAD ahThreads[128]; local 58 RTPrintf("tstThread-1: TESTING - %u waitable immediate return threads\n", RT_ELEMENTS(ahThreads)); 62 for (unsigned i = 0; i < RT_ELEMENTS(ahThreads); i++) 64 int rc = RTThreadCreate(&ahThreads[i], tstThread1ReturnImmediately, &ahThreads[i], 0, RTTHREADTYPE_DEFAULT, RTTHREADFLAGS_WAITABLE, "TEST1"); 69 ahThreads[i] = NIL_RTTHREAD; 76 for (unsigned i = 0; i < RT_ELEMENTS(ahThreads); i++) 77 if (ahThreads[i] != NIL_RTTHREAD) 80 int rc = RTThreadWait(ahThreads[i], RT_INDEFINITE_WAIT, &rc2);
|
H A D | tstRTCoreDump.cpp | 67 RTTHREAD ahThreads[5]; local 69 for (i = 0; i < RT_ELEMENTS(ahThreads); i++) 71 RTTESTI_CHECK_RC_BREAK(RTThreadCreate(&ahThreads[i], SleepyThread, &ahThreads[i], 0, RTTHREADTYPE_DEFAULT, 88 RTTESTI_CHECK_RC(RTThreadUserSignal(ahThreads[i]), VINF_SUCCESS); 89 RTTESTI_CHECK_RC(RTThreadWait(ahThreads[i], 60*1000, NULL), VINF_SUCCESS);
|
H A D | tstRTR0SemMutexDriver.cpp | 107 RTTHREAD ahThreads[32]; local 108 RTTESTI_CHECK_RET(cThreads <= RT_ELEMENTS(ahThreads), false); 126 for (unsigned i = 0; i < RT_ELEMENTS(ahThreads); i++) 127 ahThreads[i] = NIL_RTTHREAD; 131 rc = RTThreadCreateF(&ahThreads[i], tstThreadFn, (void *)(uintptr_t)RT_MAKE_U32(enmDo, cSecs), 0, RTTHREADTYPE_DEFAULT, 135 if (ahThreads[i] != NIL_RTTHREAD) 138 int rc2 = RTThreadWait(ahThreads[i], 3600*1000, &rcThread); 141 ahThreads[i] = NIL_RTTHREAD; 164 if (ahThreads[i] != NIL_RTTHREAD) 165 RTThreadWait(ahThreads[ [all...] |
H A D | tstRTR0ThreadPreemptionDriver.cpp | 194 RTTHREAD ahThreads[RTCPUSET_MAX_CPUS]; 198 for (uint32_t i = 0; i < RT_ELEMENTS(ahThreads); i++) 200 ahThreads[i] = NIL_RTTHREAD; 202 RTThreadCreateF(&ahThreads[i], MyThreadProc, (void *)(uintptr_t)i, 0, RTTHREADTYPE_DEFAULT, 232 for (uint32_t i = 0; i < RT_ELEMENTS(ahThreads); i++) 233 if (ahThreads[i] != NIL_RTTHREAD) 234 RTThreadWait(ahThreads[i], 5000, NULL);
|
H A D | tstIprtList.cpp | 619 RTTHREAD ahThreads[6]; local 625 for (unsigned i = 0; i < RT_ELEMENTS(ahThreads); i++) 627 RTTESTI_CHECK_RC_RETV(RTThreadCreateF(&ahThreads[i], apfnThreads[i], &testList, 0, 632 for (unsigned i = 0; i < RT_ELEMENTS(ahThreads); i++) 636 RTTESTI_CHECK_RC(RTThreadWait(ahThreads[i], tsNow, NULL), VINF_SUCCESS);
|
Completed in 50 milliseconds