Home
last modified time | relevance | path

Searched refs:newTh (Results 1 - 25 of 174) sorted by relevance

1234567

/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/smoke/
H A DIt_posix_pthread_018.c49 pthread_t newTh; in Testcase() local
61 ret = pthread_create(&newTh, NULL, PthreadF01, (void *)9); // 9, test param of the function. in Testcase()
66 ret = pthread_setschedparam(newTh, 0, &param); in Testcase()
69 ret = pthread_setschedparam(newTh, 4, &param); // 4, test for invalid param. in Testcase()
72 ret = pthread_setschedparam(newTh, SCHED_RR, NULL); in Testcase()
76 ret = pthread_setschedparam(newTh, SCHED_RR, &param); in Testcase()
80 ret = pthread_setschedparam(newTh, SCHED_RR, &param); in Testcase()
84 ret = pthread_setschedparam(newTh, SCHED_RR, &param); in Testcase()
87 ret = pthread_getschedparam(newTh, NULL, &param2); in Testcase()
91 ret = pthread_getschedparam(newTh, in Testcase()
[all...]
H A DIt_posix_pthread_009.c51 pthread_t newTh; in Testcase() local
58 ret = pthread_create(&newTh, NULL, PthreadF01, NULL); in Testcase()
74 ret = pthread_join(newTh, NULL); in Testcase()
78 ret = pthread_detach(newTh); in Testcase()
81 ret = pthread_join(newTh, NULL); in Testcase()
/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/full/
H A DIt_posix_pthread_150.c49 pthread_t newTh; in Testcase() local
53 pthreadData = pthread_get_data(newTh); in Testcase()
56 ret = pthread_create(&newTh, NULL, PthreadF01, NULL); in Testcase()
59 pthreadData = pthread_get_data(newTh); in Testcase()
66 ret = pthread_join(newTh, NULL); in Testcase()
69 pthreadData = pthread_get_data(newTh); in Testcase()
73 ret = pthread_detach(newTh); in Testcase()
76 pthreadData = pthread_get_data(newTh); in Testcase()
79 ret = pthread_join(newTh, NULL); in Testcase()
83 ret = pthread_cancel(newTh); in Testcase()
[all...]
H A DIt_posix_pthread_007.c49 pthread_t newTh; in Testcase() local
67 ret = pthread_create(&newTh, NULL, PthreadF01, (void *)&uwint); in Testcase()
72 ret = pthread_join(newTh, (void *)&temp); in Testcase()
76 ret = pthread_create(&newTh, &attr, NULL, (void *)8); // 8, test for invalid param. in Testcase()
79 ret = pthread_create(&newTh, &attr, PthreadF01, NULL); in Testcase()
85 ret = pthread_join(newTh, (void *)&temp); in Testcase()
89 ret = pthread_create(&newTh, &attr, PthreadF01, (void *)&cc); in Testcase()
94 ret = pthread_join(newTh, (void *)&temp); in Testcase()
98 ret = pthread_create(&newTh, &attr, PthreadF01, (void *)str); in Testcase()
104 ret = pthread_join(newTh, (voi in Testcase()
[all...]
H A DIt_posix_pthread_039.c52 pthread_t newTh; in Testcase() local
59 ret = pthread_create(&newTh, NULL, PthreadF01, NULL); in Testcase()
63 ret = pthread_cancel(newTh); in Testcase()
66 ret = pthread_detach(newTh); in Testcase()
81 ret = pthread_create(&newTh, NULL, PthreadF01, in Testcase()
86 ret = pthread_join(newTh, NULL); in Testcase()
H A DIt_posix_pthread_098.c53 pthread_t newTh; in Testcase() local
62 ret = pthread_create(&newTh, NULL, PthreadF01, NULL); in Testcase()
67 f = pthread_get_data(newTh); in Testcase()
71 f1 = pthread_get_data(newTh); in Testcase()
75 ret = pthread_cancel(newTh); in Testcase()
78 ret = pthread_join(newTh, (void *)&temp); in Testcase()
H A DIt_posix_pthread_144.c57 pthread_t newTh; in Testcase() local
67 ret = pthread_create(&newTh, &newAttr, PthreadF01, NULL); in Testcase()
70 ret = pthread_detach(newTh); in Testcase()
73 pthreadData = pthread_get_data(newTh); in Testcase()
76 ret = pthread_join(newTh, NULL); in Testcase()
82 ret = pthread_cancel(newTh); in Testcase()
H A DIt_posix_pthread_123.c50 pthread_t newTh; in Testcase() local
54 ret = pthread_create(&newTh, NULL, PthreadF01, NULL); in Testcase()
59 ret = pthread_join(newTh, NULL); in Testcase()
64 ret = pthread_equal(newTh, g_pthreadTestTh); in Testcase()
68 pthread_detach(newTh); in Testcase()
H A DIt_posix_pthread_121.c49 pthread_t newTh; in Testcase() local
54 ret = pthread_create(&newTh, NULL, PthreadF01, NULL); in Testcase()
58 ret = pthread_join(newTh, NULL); in Testcase()
62 ret = pthread_detach(newTh); in Testcase()
67 pthread_join(newTh, NULL); in Testcase()
H A DIt_posix_pthread_133.c49 pthread_t newTh; in Testcase() local
52 ret = pthread_create(&newTh, NULL, PthreadF01, NULL); in Testcase()
55 ret = pthread_equal(newTh, newTh); in Testcase()
58 ret = pthread_join(newTh, NULL); in Testcase()
H A DIt_posix_pthread_010.c50 pthread_t newTh; in Testcase() local
55 ret = pthread_create(&newTh, NULL, PthreadF01, NULL); in Testcase()
59 ICUNIT_ASSERT_EQUAL(g_testCount, newTh, g_testCount); in Testcase()
61 ret = pthread_join(newTh, (void *)&temp); in Testcase()
69 ret = pthread_equal(newTh, g_testCount); in Testcase()
H A DIt_posix_pthread_166.c48 pthread_t newTh; in Testcase() local
63 ret = pthread_create(&newTh, &newAttr, PthreadF01, NULL); in Testcase()
66 ret = pthread_join(newTh, NULL); in Testcase()
72 pthreadData = pthread_get_data(newTh); in Testcase()
76 ret = pthread_cancel(newTh); in Testcase()
H A DIt_posix_pthread_042.c51 pthread_t newTh; in Testcase() local
76 ret = pthread_create(&newTh, &attr, PthreadF01, NULL); in Testcase()
82 ret = pthread_join(newTh, NULL); in Testcase()
85 ret = pthread_detach(newTh); in Testcase()
98 ret = pthread_join(newTh, NULL); in Testcase()
101 ret = pthread_detach(newTh); in Testcase()
H A DIt_posix_pthread_058.c97 pthread_t newTh; in Testcase() local
103 ret = pthread_create(&newTh, NULL, PthreadF01, NULL); in Testcase()
108 ret = pthread_cancel(newTh); in Testcase()
114 ret = pthread_join(newTh, (void *)&temp); in Testcase()
119 ret = pthread_create(&newTh, NULL, PthreadF02, NULL); in Testcase()
123 ret = pthread_cancel(newTh); in Testcase()
128 ret = pthread_join(newTh, (void *)&temp); in Testcase()
/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/full/
H A DIt_posix_pthread_007.cpp42 pthread_t newTh; in Testcase() local
56 ret = pthread_create(&newTh, NULL, pthread_f01, (void *)&uwint); in Testcase()
61 ret = pthread_join(newTh, (void **)&uwtemp); in Testcase()
65 ret = pthread_create(&newTh, &attr, NULL, (void *)8); in Testcase()
68 ret = pthread_create(&newTh, &attr, pthread_f01, NULL); in Testcase()
74 ret = pthread_join(newTh, (void **)&uwtemp); in Testcase()
78 ret = pthread_create(&newTh, &attr, pthread_f01, (void *)&cc); in Testcase()
84 ret = pthread_join(newTh, (void **)&uwtemp); in Testcase()
88 ret = pthread_create(&newTh, &attr, pthread_f01, (void *)str); in Testcase()
94 ret = pthread_join(newTh, (voi in Testcase()
[all...]
H A DIt_posix_pthread_039.cpp45 pthread_t newTh; in Testcase() local
51 ret = pthread_create(&newTh, NULL, PthreadF01, NULL); in Testcase()
55 ret = pthread_cancel(newTh); in Testcase()
58 ret = pthread_detach(newTh); in Testcase()
66 ret = pthread_create(&newTh, NULL, PthreadF01, in Testcase()
71 ret = pthread_join(newTh, NULL); in Testcase()
H A DIt_posix_pthread_123.cpp43 pthread_t newTh; in Testcase() local
47 ret = pthread_create(&newTh, NULL, pthread_f01, NULL); in Testcase()
52 ret = pthread_join(newTh, NULL); in Testcase()
57 ret = pthread_equal(newTh, g_pthreadTestTh); in Testcase()
61 pthread_detach(newTh); in Testcase()
H A DIt_posix_pthread_133.cpp42 pthread_t newTh; in Testcase() local
45 ret = pthread_create(&newTh, NULL, pthread_f01, NULL); in Testcase()
48 ret = pthread_equal(newTh, newTh); in Testcase()
51 ret = pthread_join(newTh, NULL); in Testcase()
H A DIt_posix_pthread_010.cpp43 pthread_t newTh; in Testcase() local
48 ret = pthread_create(&newTh, NULL, pthread_f01, NULL); in Testcase()
52 ICUNIT_ASSERT_EQUAL(g_testCount, newTh, g_testCount); in Testcase()
54 ret = pthread_join(newTh, (void **)&uwtemp); in Testcase()
62 ret = pthread_equal(newTh, g_testCount); in Testcase()
H A DIt_posix_pthread_044.cpp55 pthread_t newTh; in pthread_f01() local
74 ret = pthread_create(&newTh, &attr, pthread_f02, NULL); in pthread_f01()
79 ret = pthread_setschedparam(newTh, SCHED_RR, &param); // in pthread_f01()
82 ret = pthread_detach(newTh); in pthread_f01()
96 pthread_t newTh; in Testcase() local
125 ret = pthread_create(&newTh, &attr, pthread_f01, NULL); in Testcase()
132 ret = pthread_join(newTh, NULL); in Testcase()
H A DIt_posix_pthread_045.cpp47 pthread_t newTh; in Testcase() local
62 ret = pthread_create(&newTh, &attr, pthread_f01, NULL); in Testcase()
68 ret = pthread_join(newTh, NULL); in Testcase()
77 ret = pthread_create(&newTh, &attr, pthread_f01, NULL); in Testcase()
80 ret = pthread_join(newTh, NULL); in Testcase()
H A DIt_posix_pthread_144.cpp51 pthread_t newTh; in Testcase() local
60 ret = pthread_create(&newTh, &newAttr, pthread_f01, NULL); in Testcase()
63 ret = pthread_detach(newTh); in Testcase()
66 ret = pthread_join(newTh, NULL); in Testcase()
72 ret = pthread_cancel(newTh); in Testcase()
/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/smoke/
H A DIt_posix_pthread_018.cpp42 pthread_t newTh; in Testcase() local
54 ret = pthread_create(&newTh, NULL, pthread_f01, (void *)9); in Testcase()
59 ret = pthread_setschedparam(newTh, 0, &param); in Testcase()
62 ret = pthread_setschedparam(newTh, 4, &param); in Testcase()
67 ret = pthread_setschedparam(newTh, SCHED_RR, &param); // in Testcase()
71 ret = pthread_setschedparam(newTh, SCHED_RR, &param); // in Testcase()
75 ret = pthread_setschedparam(newTh, SCHED_RR, &param); // in Testcase()
78 ret = pthread_getschedparam(newTh, &policy, &param2); in Testcase()
82 ret = pthread_join(newTh, (void **)&uwtemp); in Testcase()
H A DIt_posix_pthread_022.cpp55 pthread_t newTh; in TestCase() local
63 ret = pthread_create(&newTh, NULL, PthreadF01, (void **)&uwint); in TestCase()
68 ret = pthread_cancel(newTh); in TestCase()
74 ret = pthread_join(newTh, (void **)&uwtemp); in TestCase()
80 ret = pthread_create(&newTh, NULL, PthreadF02, (void **)uwint); in TestCase()
85 ret = pthread_cancel(newTh); in TestCase()
88 ret = pthread_join(newTh, (void **)&uwtemp); in TestCase()
/kernel/liteos_m/testsuites/sample/posix/pthread/
H A DIt_posix_pthread_019.c40 pthread_t newTh; in Testcase() local
43 ret = pthread_create(&newTh, NULL, PthreadF01, NULL); in Testcase()
46 ret = pthread_equal(newTh, newTh); in Testcase()
49 ret = pthread_join(newTh, NULL); in Testcase()

Completed in 7 milliseconds

1234567