Searched refs:g_testCnt2 (Results 1 – 1 of 1) sorted by relevance
/kernel/liteos_a/testsuites/unittest/process/basic/pthread/full/ |
D | pthread_test_002.cpp | 35 static volatile int g_testCnt2 = 0; variable 59 g_testCnt2 = 0; in ThreadFuncTest2() 61 ThreadWaitCount(waitCount1 + g_testCnt2, &g_testCnt2); in ThreadFuncTest2() 81 ThreadWaitCount(waitCount2 + g_testCnt2, &g_testCnt2); in ThreadFuncTest2() 97 ThreadWaitCount(waitCount2 + g_testCnt2, &g_testCnt2); in ThreadFuncTest2() 104 ThreadWaitCount(waitCount2 + g_testCnt2, &g_testCnt2); in ThreadFuncTest2() 105 ICUNIT_GOTO_EQUAL(g_testCnt2, 170, g_testCnt2, EXIT); // 170, here assert the result. in ThreadFuncTest2() 126 while (g_testCnt2 < 10) { // 10, wait until g_testCnt2 >= 10. in ThreadFuncTest3() 135 old = g_testCnt2; in ThreadFuncTest3() 145 ICUNIT_GOTO_EQUAL(g_testCnt2, old, g_testCnt2, EXIT); in ThreadFuncTest3() [all …]
|