Home
last modified time | relevance | path

Searched refs:g_testCnt1 (Results 1 – 3 of 3) sorted by relevance

/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/full/
DIt_posix_pthread_035.cpp32 static volatile int g_testCnt1; variable
38 ICUNIT_GOTO_EQUAL(g_testCnt1, 0, g_testCnt1, EXIT); in pthread_f01()
39 g_testCnt1++; in pthread_f01()
41 while (g_testCnt1 != 3) { in pthread_f01()
47 g_testCnt1++; in pthread_f01()
48 ICUNIT_GOTO_EQUAL(g_testCnt1, 4, g_testCnt1, EXIT); in pthread_f01()
57 ICUNIT_GOTO_EQUAL(g_testCnt1, 1, g_testCnt1, EXIT); in pthread_f02()
58 g_testCnt1++; in pthread_f02()
60 while (g_testCnt1 != 4) { in pthread_f02()
67 g_testCnt1++; in pthread_f02()
[all …]
DIt_posix_pthread_095.cpp33 static volatile int g_testCnt1; variable
41 ICUNIT_GOTO_EQUAL(g_testCnt1, 2, g_testCnt1, EXIT); in pthread_f02()
42 g_testCnt1++; in pthread_f02()
47 while (g_testCnt1 != 5) { in pthread_f02()
51 g_testCnt1++; in pthread_f02()
64 ICUNIT_GOTO_EQUAL(g_testCnt1, 1, g_testCnt1, EXIT); in pthread_f01()
65 g_testCnt1++; in pthread_f01()
82 ICUNIT_GOTO_EQUAL(g_testCnt1, 3, g_testCnt1, EXIT); in pthread_f01()
83 g_testCnt1++; in pthread_f01()
95 g_testCnt1 = 0; in Testcase()
[all …]
/kernel/liteos_a/testsuites/unittest/process/basic/pthread/full/
Dpthread_test_002.cpp34 static volatile int g_testCnt1 = 0; variable
63 while (g_testCnt1 < 10) { // 10, wait until g_testCnt1 >= 10. in ThreadFuncTest2()
73 old = g_testCnt1; in ThreadFuncTest2()
83 ICUNIT_GOTO_EQUAL(g_testCnt1, old, g_testCnt1, EXIT); in ThreadFuncTest2()
89 old = g_testCnt1; in ThreadFuncTest2()
99 ICUNIT_GOTO_EQUAL(g_testCnt1, old, g_testCnt1, EXIT); in ThreadFuncTest2()
122 g_testCnt1 = 0; in ThreadFuncTest3()
124 ThreadWaitCount(waitCount1 + g_testCnt1, &g_testCnt1); in ThreadFuncTest3()
143 ThreadWaitCount(waitCount2 + g_testCnt1, &g_testCnt1); in ThreadFuncTest3()
159 ThreadWaitCount(waitCount2 + g_testCnt1, &g_testCnt1); in ThreadFuncTest3()
[all …]