Home
last modified time | relevance | path

Searched refs:thread2 (Results 1 – 25 of 53) sorted by relevance

123

/third_party/gstreamer/gstreamer/tests/check/libs/
Dcollectpads.c454 GThread *thread1, *thread2; in GST_START_TEST() local
479 thread2 = g_thread_try_new ("gst-check", push_buffer, data2, NULL); in GST_START_TEST()
490 g_thread_join (thread2); in GST_START_TEST()
504 GThread *thread1, *thread2; in GST_START_TEST() local
528 thread2 = g_thread_try_new ("gst-check", push_event, data2, NULL); in GST_START_TEST()
539 g_thread_join (thread2); in GST_START_TEST()
551 GThread *thread1, *thread2; in GST_START_TEST() local
578 thread2 = g_thread_try_new ("gst-check", push_event, data2, NULL); in GST_START_TEST()
590 g_thread_join (thread2); in GST_START_TEST()
615 thread2 = g_thread_try_new ("gst-check", push_buffer, data2, NULL); in GST_START_TEST()
[all …]
Daggregator.c498 GThread *thread1, *thread2; in GST_START_TEST() local
508 thread2 = g_thread_try_new ("gst-check", push_data, &data2, NULL); in GST_START_TEST()
516 g_thread_join (thread2); in GST_START_TEST()
527 GThread *thread1, *thread2; in GST_START_TEST() local
537 thread2 = g_thread_try_new ("gst-check", push_data, &data2, NULL); in GST_START_TEST()
545 g_thread_join (thread2); in GST_START_TEST()
581 GThread *thread1, *thread2; in GST_START_TEST() local
592 thread2 = g_thread_try_new ("gst-check", push_data, &data2, NULL); in GST_START_TEST()
600 g_thread_join (thread2); in GST_START_TEST()
611 GThread *thread1, *thread2; in GST_START_TEST() local
[all …]
/third_party/ffmpeg/libavutil/tests/
Dcpu_init.c44 pthread_t thread2; in main() local
50 if ((ret = pthread_create(&thread2, NULL, thread_main, &cpu_flags2))) { in main()
55 pthread_join(thread2, NULL); in main()
/third_party/flutter/engine/flutter/fml/
Dgpu_thread_merger_unittests.cc31 std::thread thread2([&loop2, &latch2, &term2]() { in TEST() local
61 thread2.join(); in TEST()
76 std::thread thread2([&loop2, &latch2]() { in TEST() local
146 thread2.join(); in TEST()
163 std::thread thread2([&loop2, &latch2, &term2]() { in TEST() local
203 thread2.join(); in TEST()
Dthread_local_unittests.cc53 std::thread thread2([&]() { ASSERT_EQ(local.get(), nullptr); }); in TEST() local
54 thread2.join(); in TEST()
89 std::thread thread2([&]() { in TEST() local
98 thread2.join(); in TEST()
/third_party/libuv/docs/code/signal/
Dmain.c58 uv_thread_t thread1, thread2; in main() local
61 uv_thread_create(&thread2, thread2_worker, 0); in main()
64 uv_thread_join(&thread2); in main()
/third_party/boost/libs/thread/test/
Dtest_7571.cpp66 boost::thread thread2(threadFunc, 2, boost::ref(exceptionOccurred2)); in main() local
78 if (!thread2.timed_join(timeout)) { in main()
80 thread2.interrupt(); in main()
Dtest_7755.cpp70 boost::thread thread2(&thread2_func); in main() local
87 thread2.join(); in main()
Dtest_condition_notify_one.cpp118 boost::thread thread2(&wait_for_condvar_and_increase_count); in do_test_multiple_notify_one_calls_wakes_multiple_threads() local
136 thread2.join(); in do_test_multiple_notify_one_calls_wakes_multiple_threads()
/third_party/gstreamer/gstreamer/tests/check/elements/
Dconcat.c114 GThread *thread1, *thread2, *thread3; in GST_START_TEST() local
145 thread2 = g_thread_new ("thread2", (GThreadFunc) push_buffers_time, sink2); in GST_START_TEST()
149 g_thread_join (thread2); in GST_START_TEST()
235 GThread *thread1, *thread2, *thread3; in GST_START_TEST() local
267 thread2 = g_thread_new ("thread2", (GThreadFunc) push_buffers_bytes, sink2); in GST_START_TEST()
271 g_thread_join (thread2); in GST_START_TEST()
/third_party/gettext/gettext-tools/tests/
Dintl-thread-2-prg.c146 pthread_t thread2; in main() local
164 if (pthread_create (&thread2, NULL, &thread2_execution, NULL)) in main()
166 if (pthread_join (thread2, NULL)) in main()
Dintl-thread-3-prg.c150 pthread_t thread2; in main() local
168 if (pthread_create (&thread2, NULL, &thread2_execution, NULL)) in main()
170 if (pthread_join (thread2, NULL)) in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_trywrlock/
D1-1.c67 pthread_t thread1, thread2; in main() local
142 if (pthread_create(&thread2, NULL, fn_wr, NULL) != 0) { in main()
173 if (pthread_join(thread2, NULL) != 0) { in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_wrlock/
D1-1.c74 pthread_t thread1, thread2; in main() local
153 if (pthread_create(&thread2, NULL, fn_wr, NULL) != 0) { in main()
178 if (pthread_join(thread2, NULL) != 0) { in main()
/third_party/pulseaudio/src/tests/
Datomic-test.c90 pa_thread *thread1, *thread2; in START_TEST() local
108 thread2 = pa_thread_new("right", &read_func, &io2); in START_TEST()
110 pa_thread_free(thread2); in START_TEST()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/
D5-1.c134 pthread_t thread1, thread2; in main() local
175 if (pthread_create(&thread2, NULL, fn_rd_2, NULL) != 0) { in main()
205 if (pthread_join(thread2, NULL) != 0) { in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/
D5-1.c140 pthread_t thread1, thread2; in main() local
179 if (pthread_create(&thread2, NULL, fn_wr_2, NULL) != 0) { in main()
207 if (pthread_join(thread2, NULL) != 0) { in main()
D1-1.c94 pthread_t thread0, thread1, thread2; in main() local
208 if (pthread_create(&thread2, NULL, fn_wr, NULL) != 0) { in main()
/third_party/glib/glib/tests/
Dthread.c120 GThread *thread1, *thread2, *thread3; in test_thread3() local
123 thread2 = g_thread_new ("b", thread3_func, thread1); in test_thread3()
124 thread3 = g_thread_new ("c", thread3_func, thread2); in test_thread3()
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_test/
Dcpuset_memory_test.c326 pthread_t thread2; in main() local
339 pthread_create(&thread2, NULL, thread2_routine, NULL); in main()
382 pthread_cancel(thread2); in main()
383 pthread_join(thread2, &retv); in main()
/third_party/musl/libc-test/src/functionalext/supplement/thread/
Dpthread_spin_trylock.c32 static void thread2(void) in thread2() function
86 ret = pthread_create(&thread, NULL, (void *)thread2, NULL); in pthread_spin_trylock_0200()
/third_party/boost/libs/atomic/test/
Dipc_wait_test_helpers.hpp88 boost::thread thread2(&notify_one_test::thread_func, this, &m_thread2_state); in run() local
109 if (!thread2.try_join_for(chrono::seconds(3))) in run()
221 boost::thread thread2(&notify_all_test::thread_func, this, &m_thread2_state); in run() local
237 if (!thread2.try_join_for(chrono::seconds(3))) in run()
Dwait_test_helpers.hpp85 boost::thread thread2(&notify_one_test::thread_func, this, &m_thread2_state); in run() local
106 if (!thread2.try_join_for(chrono::seconds(3))) in run()
209 boost::thread thread2(&notify_all_test::thread_func, this, &m_thread2_state); in run() local
225 if (!thread2.try_join_for(chrono::seconds(3))) in run()
/third_party/openssl/crypto/chacha/asm/
Dchacha-armv8.pl458 my @thread2=&NEONROUND($A2,$B2,$C2,$D2,$T2,0);
464 eval(shift(@thread2)); eval(shift(@thread3));
469 @thread2=&NEONROUND($A2,$B2,$C2,$D2,$T2,1);
475 eval(shift(@thread2)); eval(shift(@thread3));
804 my @thread2=&NEONROUND($A2,$B2,$C2,$D2,$T2,0);
815 eval(shift(@thread2)); eval(shift(@thread67));
823 @thread2=&NEONROUND($A2,$B2,$C2,$D2,$T2,1);
832 eval(shift(@thread2)); eval(shift(@thread67));
918 @thread2=&NEONROUND($A2,$B2,$C2,$D2,$T2,0);
927 eval(shift(@thread2)); eval(shift(@thread67));
[all …]
/third_party/glib/gobject/tests/
Dclosure-refcount.c257 GThread *thread1, *thread2; in test_closure_refcount() local
273 thread2 = g_thread_new ("thread2", thread2_main, &test_data); in test_closure_refcount()
313 g_thread_join (thread2); in test_closure_refcount()

123