Home
last modified time | relevance | path

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

12345678910>>...49

/external/igt-gpu-tools/tests/
Ddrm_import_export.c197 igt_assert_eq(pthread_create(&t, NULL, import_close_thread , &t_data), 0); in test_import_close_race()
266 pthread_create(&test_thread_id1, NULL, test_thread, NULL);
267 pthread_create(&test_thread_id2, NULL, test_thread, NULL);
268 pthread_create(&test_thread_id3, NULL, test_thread, NULL);
269 pthread_create(&test_thread_id4, NULL, test_thread, NULL);
280 pthread_create(&test_thread_id1, NULL, test_thread, NULL);
281 pthread_create(&test_thread_id2, NULL, test_thread, NULL);
282 pthread_create(&test_thread_id3, NULL, test_thread, NULL);
283 pthread_create(&test_thread_id4, NULL, test_thread, NULL);
/external/compiler-rt/test/tsan/
Dfd_tid_recycled.cc31 pthread_create(&t_create, NULL, ThreadCreatePipe, NULL); in main()
36 pthread_create(&t_dummy, NULL, ThreadDummy, NULL); in main()
41 pthread_create(&t[0], NULL, ThreadWrite, NULL); in main()
42 pthread_create(&t[1], NULL, ThreadClose, NULL); in main()
Drace_on_heap.cc28 pthread_create(&t[0], 0, AllocThread, 0); in main()
31 pthread_create(&t[0], 0, Thread1, (char*)p + 16); in main()
32 pthread_create(&t[1], 0, Thread2, (char*)p + 16); in main()
Dstatic_init6.cc20 pthread_create(&t, 0, AsyncInit, (void*)(long)rand()); in CreateCache()
35 pthread_create(&t[0], 0, Thread1, 0); in main()
36 pthread_create(&t[1], 0, Thread1, 0); in main()
Dstatic_init5.cc20 pthread_create(&t, 0, AsyncInit, (void*)(long)rand()); in CreateCache()
35 pthread_create(&t[0], 0, Thread1, 0); in main()
36 pthread_create(&t[1], 0, Thread1, 0); in main()
Dpthread_key.cc29 pthread_create(&th, 0, thr, 0); in main()
33 pthread_create(&th[0], 0, thr, 0); in main()
34 pthread_create(&th[1], 0, thr, 0); in main()
Dmmap_stress.cc25 if (pthread_create(&th[i], 0, SubWorker, 0)) in Worker1()
39 if (pthread_create(&th[i], 0, Worker1, 0)) in Worker()
56 if (pthread_create(&th[i], 0, Worker, 0)) in main()
Dfork_multithreaded.cc20 pthread_create(&th, 0, sleeper, 0); in main()
28 pthread_create(&th2, 0, nop, 0); in main()
/external/cronet/tot/third_party/llvm-libc/src/test/integration/src/pthread/
DCMakeLists.txt16 libc.src.pthread.pthread_create
41 libc.src.pthread.pthread_create
76 libc.src.pthread.pthread_create
88 libc.src.pthread.pthread_create
105 libc.src.pthread.pthread_create
120 libc.src.pthread.pthread_create
139 libc.src.pthread.pthread_create
152 libc.src.pthread.pthread_create
174 libc.src.pthread.pthread_create
189 libc.src.pthread.pthread_create
[all …]
Dpthread_once_test.cpp46 LIBC_NAMESPACE::pthread_create(threads + i, nullptr, func, nullptr), 0); in call_from_5_threads()
88 LIBC_NAMESPACE::pthread_create(&t1, nullptr, once_func_caller, nullptr), in test_synchronization()
91 LIBC_NAMESPACE::pthread_create(&t2, nullptr, once_func_caller, nullptr), in test_synchronization()
/external/cronet/stable/third_party/llvm-libc/src/test/integration/src/pthread/
DCMakeLists.txt16 libc.src.pthread.pthread_create
41 libc.src.pthread.pthread_create
76 libc.src.pthread.pthread_create
88 libc.src.pthread.pthread_create
105 libc.src.pthread.pthread_create
120 libc.src.pthread.pthread_create
139 libc.src.pthread.pthread_create
152 libc.src.pthread.pthread_create
174 libc.src.pthread.pthread_create
189 libc.src.pthread.pthread_create
[all …]
Dpthread_once_test.cpp46 LIBC_NAMESPACE::pthread_create(threads + i, nullptr, func, nullptr), 0); in call_from_5_threads()
88 LIBC_NAMESPACE::pthread_create(&t1, nullptr, once_func_caller, nullptr), in test_synchronization()
91 LIBC_NAMESPACE::pthread_create(&t2, nullptr, once_func_caller, nullptr), in test_synchronization()
/external/linux-kselftest/tools/testing/selftests/filesystems/epoll/
Depoll_wakeup_test.c489 ASSERT_EQ(pthread_create(&ctx.waiter, NULL, waiter_entry1a, &ctx), 0); in TEST()
490 ASSERT_EQ(pthread_create(&emitter, NULL, emitter_entry1, &ctx), 0); in TEST()
532 ASSERT_EQ(pthread_create(&ctx.waiter, NULL, waiter_entry1a, &ctx), 0); in TEST()
533 ASSERT_EQ(pthread_create(&emitter, NULL, emitter_entry1, &ctx), 0); in TEST()
579 ASSERT_EQ(pthread_create(&ctx.waiter, NULL, waiter_entry2a, &ctx), 0); in TEST()
580 ASSERT_EQ(pthread_create(&emitter, NULL, emitter_entry2, &ctx), 0); in TEST()
628 ASSERT_EQ(pthread_create(&ctx.waiter, NULL, waiter_entry1a, &ctx), 0); in TEST()
629 ASSERT_EQ(pthread_create(&emitter, NULL, emitter_entry2, &ctx), 0); in TEST()
673 ASSERT_EQ(pthread_create(&ctx.waiter, NULL, waiter_entry1ap, &ctx), 0); in TEST()
674 ASSERT_EQ(pthread_create(&emitter, NULL, emitter_entry1, &ctx), 0); in TEST()
[all …]
/external/liburing/test/
Dpoll-v-poll.c108 pthread_create(&threads[1], NULL, iou_poll, &td); in do_pipe_pollin_test()
109 pthread_create(&threads[0], NULL, poll_pipe, &td); in do_pipe_pollin_test()
147 pthread_create(&threads[0], NULL, poll_pipe, &td); in do_pipe_pollout_test()
148 pthread_create(&threads[1], NULL, iou_poll, &td); in do_pipe_pollout_test()
189 pthread_create(&threads[0], NULL, poll_pipe, &td); in do_fd_test()
190 pthread_create(&threads[1], NULL, iou_poll, &td); in do_fd_test()
279 pthread_create(&threads[0], NULL, iou_poll, &td); in do_test_epoll()
280 pthread_create(&threads[1], NULL, epoll_wait_fn, &td); in do_test_epoll()
Dwakeup-hang.c89 pthread_create(&t1, NULL, listener_thread, &td); in test_pipes()
93 pthread_create(&t2, NULL, wakeup_io_uring, &td); in test_pipes()
131 pthread_create(&t1, NULL, listener_thread, &td); in test_eventfd()
135 pthread_create(&t2, NULL, wakeup_io_uring, &td); in test_eventfd()
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_kill/
Dstress.c254 ret = pthread_create(&fl_rec, NULL, flood_receiver, &flooding); in main()
260 ret = pthread_create(&fl_snd1, NULL, flooder_1, &fl_rec); in main()
266 ret = pthread_create(&fl_snd2, NULL, flooder_2, &fl_rec); in main()
272 ret = pthread_create(&sy_rec, NULL, sync_rec, &synchro); in main()
278 ret = pthread_create(&sy_snd, NULL, sync_send, &sy_rec); in main()
/external/linux-kselftest/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()
/external/compiler-rt/lib/tsan/tests/rtl/
Dtsan_posix.cc63 EXPECT_EQ(pthread_create(&th[0], 0, dtors_thread, &k1), 0); in TEST()
64 EXPECT_EQ(pthread_create(&th[1], 0, dtors_thread, &k2), 0); in TEST()
66 EXPECT_EQ(pthread_create(&th[2], 0, dtors_thread, &k3), 0); in TEST()
84 EXPECT_EQ(pthread_create(&th[i], 0, local_thread, in local_thread()
134 EXPECT_EQ(pthread_create(&th, 0, cond_thread, &ctx), 0); in TEST()
/external/ltp/testcases/open_posix_testsuite/functional/mqueues/
Dsend_rev_2.c128 pthread_create(&send1, NULL, (void *)send_1, (void *)&mq1); in main()
129 pthread_create(&send2, NULL, (void *)send_2, (void *)&mq2); in main()
130 pthread_create(&rev1, NULL, (void *)receive_1, (void *)&mq1); in main()
131 pthread_create(&rev2, NULL, (void *)receive_2, (void *)&mq2); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_join/
D6-3.c138 ret = pthread_create(&child, &scenarii[sc].ta, in test()
216 ret = pthread_create(&th_work, NULL, test, NULL); in main()
227 ret = pthread_create(&th_sig1, NULL, sendsig, (void *)&arg1); in main()
231 ret = pthread_create(&th_sig2, NULL, sendsig, (void *)&arg2); in main()
/external/sdv/vsomeip/third_party/boost/thread/test/
Dtest_8557.cpp99 pthread_create(&thrd1, &attr, &count2, 0); in main()
104 pthread_create(&thrd2, &attr, &count2, 0); in main()
109 pthread_create(&thrd3, &attr, &count2, 0); in main()
/external/llvm-libc/test/integration/src/pthread/
Dpthread_once_test.cpp46 LIBC_NAMESPACE::pthread_create(threads + i, nullptr, func, nullptr), 0); in call_from_5_threads()
88 LIBC_NAMESPACE::pthread_create(&t1, nullptr, once_func_caller, nullptr), in test_synchronization()
91 LIBC_NAMESPACE::pthread_create(&t2, nullptr, once_func_caller, nullptr), in test_synchronization()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/
D4-2.c264 if ((ret = pthread_create(&th_waiter, NULL, waiter, NULL))) { in main()
268 if ((ret = pthread_create(&th_worker, NULL, worker, NULL))) { in main()
279 if ((ret = pthread_create(&th_sig1, NULL, sendsig, (void *)&arg1))) { in main()
282 if ((ret = pthread_create(&th_sig2, NULL, sendsig, (void *)&arg2))) { in main()
/external/igt-gpu-tools/tests/i915/
Dgem_fence_upload.c198 pthread_create(&readers[n].thread, NULL, read_thread_performance, &readers[n]); in thread_performance()
200 pthread_create(&writers[n].thread, NULL, write_thread_performance, &writers[n]); in thread_performance()
219 pthread_create(&readers[n].thread, NULL, read_thread_performance, &readers[n]); in thread_performance()
221 pthread_create(&writers[n].thread, NULL, write_thread_performance, &writers[n]); in thread_performance()
302 pthread_create(&threads[n].thread, NULL, no_contention, &threads[n]); in thread_contention()
315 pthread_create(&threads[n].thread, NULL, no_contention, &threads[n]); in thread_contention()
358 pthread_create(&threads[n].thread, NULL, wc_mmap, &threads[n]); in wc_contention()
371 pthread_create(&threads[n].thread, NULL, wc_mmap, &threads[n]); in wc_contention()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_equal/
D1-2.c36 if (pthread_create(&new_th1, NULL, a_thread_func, NULL) != 0) { in main()
42 if (pthread_create(&new_th2, NULL, a_thread_func, NULL) != 0) { in main()

12345678910>>...49