Lines Matching refs:g_ahThreads
65 static RTTHREAD g_ahThreads[32];
204 RTTHREAD hThread = g_ahThreads[i];
279 for (uint32_t i = 0; i < RT_ELEMENTS(g_ahThreads); i++)
280 g_ahThreads[i] = NIL_RTTHREAD;
285 rc = RTThreadCreateF(&g_ahThreads[i], pfnThread, (void *)(uintptr_t)i, 0,
306 uint32_t i = RT_ELEMENTS(g_ahThreads);
308 if (g_ahThreads[i] != NIL_RTTHREAD)
312 RTTEST_CHECK_RC_OK(g_hTest, rc2 = RTThreadWait(g_ahThreads[i], cMillies, &rcThread));
314 g_ahThreads[i] = NIL_RTTHREAD;
331 RTTEST_CHECK_RETV(g_hTest, RT_ELEMENTS(g_ahThreads) >= cThreads);
684 RTSemEventSetSignaller(g_hSemEvt, g_ahThreads[0]);
686 RTSemEventAddSignaller(g_hSemEvt, g_ahThreads[iThread]);
737 RTSemEventMultiSetSignaller(g_hSemEvtMulti, g_ahThreads[0]);
739 RTSemEventMultiAddSignaller(g_hSemEvtMulti, g_ahThreads[iThread]);