Home
last modified time | relevance | path

Searched refs:pthread_create (Results 1 – 25 of 498) sorted by relevance

12345678910>>...20

/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/full/
DIt_posix_pthread_007.c64 ret = pthread_create(NULL, &attr, PthreadF01, NULL); in Testcase()
67 ret = pthread_create(&newTh, NULL, PthreadF01, (void *)&uwint); 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()
89 ret = pthread_create(&newTh, &attr, PthreadF01, (void *)&cc); in Testcase()
98 ret = pthread_create(&newTh, &attr, PthreadF01, (void *)str); in Testcase()
DIt_posix_pthread_035.c99 ret = pthread_create(&newTh, NULL, PthreadF01, NULL); in Testcase()
102 ret = pthread_create(&newTh2, NULL, PthreadF02, NULL); in Testcase()
105 ret = pthread_create(&newTh3, NULL, PthreadF03, NULL); in Testcase()
DIt_posix_pthread_034.c98 ret = pthread_create(&newTh, NULL, PthreadF01, NULL); in Testcase()
101 ret = pthread_create(&newTh2, NULL, PthreadF02, NULL); in Testcase()
104 ret = pthread_create(&newTh3, NULL, PthreadF03, NULL); in Testcase()
DIt_posix_pthread_032.c98 ret = pthread_create(&g_newTh, &attr, PthreadF01, NULL); in Testcase()
101 ret = pthread_create(&newTh, &attr, PthreadF02, NULL); in Testcase()
104 ret = pthread_create(&g_newTh2, &attr, PthreadF03, NULL); in Testcase()
/kernel/liteos_m/testsuites/unittest/xts/process/
Dpthread_basic_api_test.c62 ret = pthread_create(&tid, NULL, ThreadPthreadCreateBasic, (void*)str);
80 ret = pthread_create(&tid, NULL, ThreadPublic, (void*)&num);
99 ret = pthread_create(&tid, NULL, ThreadPublic, NULL);
124 ret = pthread_create(&tid, NULL, ThreadPthreadExitThread, (void*)&num);
155 ret = pthread_create(&tid, NULL, ThreadPthreadExitFunction, (void*)&num);
173 ret = pthread_create(&tid, NULL, ThreadPublic, NULL);
201 ret = pthread_create(&tid, NULL, ThreadPthreadEqual, (void*)&tid);
/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/full/
DIt_posix_pthread_007.cpp56 ret = pthread_create(&newTh, NULL, pthread_f01, (void *)&uwint); in Testcase()
65 ret = pthread_create(&newTh, &attr, NULL, (void *)8); in Testcase()
68 ret = pthread_create(&newTh, &attr, pthread_f01, NULL); in Testcase()
78 ret = pthread_create(&newTh, &attr, pthread_f01, (void *)&cc); in Testcase()
88 ret = pthread_create(&newTh, &attr, pthread_f01, (void *)str); in Testcase()
DIt_posix_pthread_034.cpp91 ret = pthread_create(&newTh, NULL, pthread_f01, NULL); in Testcase()
94 ret = pthread_create(&newTh2, NULL, pthread_f02, NULL); in Testcase()
97 ret = pthread_create(&newTh3, NULL, PthreadF03, NULL); in Testcase()
DIt_posix_pthread_035.cpp102 ret = pthread_create(&newTh, NULL, pthread_f01, NULL); in Testcase()
105 ret = pthread_create(&newTh2, NULL, pthread_f02, NULL); in Testcase()
108 ret = pthread_create(&newTh3, NULL, PthreadF03, NULL); in Testcase()
/kernel/liteos_a/testsuites/unittest/process/lock/mutex/smoke/
Dpthread_mutex_test_003.cpp103 ret = pthread_create(&newPthread, &a, ThreadFuncTest3, 0); in Testcase()
110 ret = pthread_create(&newPthread, &a, ThreadFuncTest3, 0); in Testcase()
117 ret = pthread_create(&newPthread, &a, ThreadFuncTest3, 0); in Testcase()
123 ret = pthread_create(&newPthread, &a, ThreadFuncTest3, 0); in Testcase()
129 ret = pthread_create(&newPthread, &a, ThreadFuncTest3, 0); in Testcase()
135 ret = pthread_create(&newPthread, &a, ThreadFuncTest3, 0); in Testcase()
Dpthread_mutex_test_020.cpp164 ret = pthread_create(&newPthread[threadCount], &a, ThreadFuncTest0, 0); in Testcase()
168 ret = pthread_create(&newPthread[threadCount], &a, ThreadFuncTest0, 0); in Testcase()
173 ret = pthread_create(&newPthread[threadCount], &a, ThreadFuncTest1, 0); in Testcase()
180 ret = pthread_create(&newPthread1, nullptr, ThreadFuncTest2, 0); in Testcase()
/kernel/linux/linux-5.10/tools/testing/selftests/filesystems/epoll/
Depoll_wakeup_test.c474 ASSERT_EQ(pthread_create(&ctx.waiter, NULL, waiter_entry1a, &ctx), 0); in TEST()
475 ASSERT_EQ(pthread_create(&emitter, NULL, emitter_entry1, &ctx), 0); in TEST()
517 ASSERT_EQ(pthread_create(&ctx.waiter, NULL, waiter_entry1a, &ctx), 0); in TEST()
518 ASSERT_EQ(pthread_create(&emitter, NULL, emitter_entry1, &ctx), 0); in TEST()
564 ASSERT_EQ(pthread_create(&ctx.waiter, NULL, waiter_entry2a, &ctx), 0); in TEST()
565 ASSERT_EQ(pthread_create(&emitter, NULL, emitter_entry2, &ctx), 0); in TEST()
613 ASSERT_EQ(pthread_create(&ctx.waiter, NULL, waiter_entry1a, &ctx), 0); in TEST()
614 ASSERT_EQ(pthread_create(&emitter, NULL, emitter_entry2, &ctx), 0); in TEST()
658 ASSERT_EQ(pthread_create(&ctx.waiter, NULL, waiter_entry1ap, &ctx), 0); in TEST()
659 ASSERT_EQ(pthread_create(&emitter, NULL, emitter_entry1, &ctx), 0); in TEST()
[all …]
/kernel/liteos_a/testsuites/unittest/process/basic/pthread/smoke/
Dpthread_test_007.cpp96 pthread_create(&g_th, &attr, PthreadTest115, NULL); in Testcase()
99 pthread_create(&th1, &attr, PthreadFunc1115, NULL); in Testcase()
100 pthread_create(&th2, &attr, PthreadFunc2115, NULL); in Testcase()
101 pthread_create(&th3, &attr, PthreadFunc3115, NULL); in Testcase()
Dpthread_test_008.cpp96 pthread_create(&g_th, &attr, PthreadTest115, NULL); in Testcase()
99 pthread_create(&th1, &attr, PthreadFunc1115, NULL); in Testcase()
100 pthread_create(&th2, &attr, PthreadFunc2115, NULL); in Testcase()
101 pthread_create(&th3, &attr, PthreadFunc3115, NULL); in Testcase()
/kernel/liteos_a/testsuites/unittest/process/basic/process/full/
Dprocess_test_041.cpp58 ret = pthread_create(&pthread[i], &a, Thread, NULL); in GroupProcess()
68 pthread_create(&pthread[100], &a, Thread, NULL); // 100, pthread array subscript in GroupProcess()
69 pthread_create(&pthread[100], &a, Thread, NULL); // 100, pthread array subscript in GroupProcess()
70 pthread_create(&pthread[100], &a, Thread, NULL); // 100, pthread array subscript in GroupProcess()
/kernel/linux/linux-5.10/tools/testing/radix-tree/
Diteration_check.c178 if (pthread_create(&threads[0], NULL, tagged_iteration_fn, NULL)) { in iteration_test()
182 if (pthread_create(&threads[1], NULL, untagged_iteration_fn, NULL)) { in iteration_test()
186 if (pthread_create(&threads[2], NULL, add_entries_fn, NULL)) { in iteration_test()
190 if (pthread_create(&threads[3], NULL, remove_entries_fn, NULL)) { in iteration_test()
194 if (pthread_create(&threads[4], NULL, tag_entries_fn, NULL)) { in iteration_test()
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/mm/
Dpkey_siginfo.c301 FAIL_IF(pthread_create(&prot_thread, &attr, &protect, &r) != 0); in test()
302 FAIL_IF(pthread_create(&pacc_thread, &attr, &protect_access, &r) != 0); in test()
309 FAIL_IF(pthread_create(&prot_thread, &attr, &protect, &r) != 0); in test()
310 FAIL_IF(pthread_create(&pacc_thread, &attr, &protect_access, &r) != 0); in test()
317 FAIL_IF(pthread_create(&prot_thread, &attr, &protect, &r) != 0); in test()
318 FAIL_IF(pthread_create(&pacc_thread, &attr, &protect_access, &r) != 0); in test()
/kernel/liteos_a/testsuites/unittest/process/basic/pthread/full/
Dpthread_test_001.cpp164 ret = pthread_create(&newPthread, &a, ThreadFunc2, 0); in ThreadFunc()
178 ret = pthread_create(&newPthread, &a, ThreadFunc3, 0); in ThreadFunc()
193 ret = pthread_create(&newPthread, &a, ThreadFunc4, 0); in ThreadFunc()
232 ret = pthread_create(&newPthread, &a, ThreadFunc, 0); in PthreadTest001()
238 ret = pthread_create(&newPthread1, &a, ThreadFunc5, 0); in PthreadTest001()
258 ret = pthread_create(&newPthread1, &a, ThreadFunc6, 0); in PthreadTest001()
Dpthread_test_004.cpp77 ret = pthread_create(&newPthread, &a, ThreadFunc8, 0); in ThreadFunc7()
112 ret = pthread_create(&newPthread, &a, ThreadFunc7, 0); in ThreadFunc5()
245 ret = pthread_create(&newPthread, &a, threadFunc2, 0); in threadFunc()
263 ret = pthread_create(&newPthread, &a, ThreadFunc3, 0); in threadFunc()
287 ret = pthread_create(&newPthread, &a, ThreadFunc4, 0); in threadFunc()
337 ret = pthread_create(&newPthread, &a, threadFunc, 0); in PthreadTest004()
344 ret = pthread_create(&newPthread1, &a, ThreadFunc5, 0); in PthreadTest004()
372 ret = pthread_create(&newPthread1, &a, ThreadFunc6, 0); in PthreadTest004()
Dpthread_test_014.cpp118 ret = pthread_create(&tid, NULL, ThreadFunc, 0); in TestCase()
121 ret = pthread_create(&tid1, NULL, ThreadFunc1, 0); in TestCase()
124 ret = pthread_create(&tid2, NULL, ThreadFunc2, 0); in TestCase()
127 ret = pthread_create(&tid3, NULL, ThreadFunc3, 0); in TestCase()
/kernel/liteos_a/testsuites/unittest/process/basic/process/smoke/
Dprocess_test_012.cpp53 ret = pthread_create(&newPthread, NULL, ThreadFunc2, NULL); in ThreadFunc001()
92 ret = pthread_create(&newPthread, &a, ThreadFunc001, 0); in ThreadFunc()
114 ret = pthread_create(&newPthread, NULL, ThreadFunc, NULL); in TestCase()
/kernel/liteos_m/testsuites/sample/posix/
Dpthread_func_test.c94 ret = pthread_create(&newTh, &attr, PthreadJoinF01, NULL);
139 ret = pthread_create(&newTh, &attr, PthreadJoinF02, NULL);
186 ret = pthread_create(&newTh, &attr, PthreadJoinF03, NULL);
233 ret = pthread_create(&newTh, &attr, PthreadJoinF04, NULL);
282 ret = pthread_create(&newTh, &attr, PthreadJoinF05, NULL);
346 ret = pthread_create(&thread[i], &attr, PthreadCondFunc001, NULL); in PthreadFunc06()
403 ret = pthread_create(&newTh, &attr, PthreadFunc06, NULL);
467 ret = pthread_create(&thread[i], &attr, PthreadCondFunc002, NULL); in PthreadFunc07()
512 ret = pthread_create(&newTh, &attr, PthreadFunc07, NULL);
610 ret = pthread_create(&newTh1, &attr, PthreadFunc08, NULL);
[all …]
/kernel/liteos_a/testsuites/unittest/extended/signal/smoke/
Dsignal_test_013.cpp109 ret = pthread_create(&thread1, NULL, ThreadSetDfl, 0); in TestSigMultiPthread()
113 ret = pthread_create(&thread2, NULL, ThreadSetFunc2, 0); in TestSigMultiPthread()
117 ret = pthread_create(&thread, NULL, ThreadKill, 0); in TestSigMultiPthread()
/kernel/liteos_m/testsuites/unittest/posix/src/pthread/
Dpthread_cond_func_test.c111 ret = pthread_create(&newTh, &attr, pthread_join_f01, NULL);
156 ret = pthread_create(&newTh, &attr, pthread_join_f02, NULL);
203 ret = pthread_create(&newTh, &attr, pthread_join_f03, NULL);
250 ret = pthread_create(&newTh, &attr, pthread_join_f04, NULL);
299 ret = pthread_create(&newTh, &attr, pthread_join_f05, NULL);
363 ret = pthread_create(&thread[i], &attr, pthread_cond_func001, NULL); in pthread_f06()
420 ret = pthread_create(&newTh, &attr, pthread_f06, NULL);
482 ret = pthread_create(&thread[i], &attr, pthread_cond_func002, NULL); in pthread_f07()
530 ret = pthread_create(&newTh, &attr, pthread_f07, NULL);
628 ret = pthread_create(&newTh1, &attr, pthread_f08, NULL);
[all …]
/kernel/liteos_m/testsuites/sample/posix/mutex/
DIt_posix_mutex_043.c93 ret = pthread_create(&newTh, &attr, TaskF01, NULL); in Testcase()
99 ret = pthread_create(&newTh2, &attr2, TaskF02, NULL); in Testcase()
105 ret = pthread_create(&newTh3, &attr3, TaskF03, NULL); in Testcase()
/kernel/liteos_a/testsuites/kernel/sample/posix/mutex/full/
DIt_posix_mutex_079.c98 ret = pthread_create(&newTh, &attr, TaskF01, NULL); in Testcase()
104 ret = pthread_create(&newTh2, &attr2, TaskF02, NULL); in Testcase()
110 ret = pthread_create(&newTh3, &attr3, TaskF03, NULL); in Testcase()

12345678910>>...20