Home
last modified time | relevance | path

Searched refs:thread1 (Results 1 – 25 of 43) sorted by relevance

12

/third_party/gstreamer/gstreamer/tests/check/libs/
Dcollectpads.c454 GThread *thread1, *thread2; in GST_START_TEST() local
473 thread1 = g_thread_try_new ("gst-check", push_buffer, data1, NULL); in GST_START_TEST()
489 g_thread_join (thread1); in GST_START_TEST()
504 GThread *thread1, *thread2; in GST_START_TEST() local
522 thread1 = g_thread_try_new ("gst-check", push_buffer, data1, NULL); in GST_START_TEST()
538 g_thread_join (thread1); in GST_START_TEST()
551 GThread *thread1, *thread2; in GST_START_TEST() local
571 thread1 = g_thread_try_new ("gst-check", push_buffer, data1, NULL); in GST_START_TEST()
589 g_thread_join (thread1); in GST_START_TEST()
609 thread1 = g_thread_try_new ("gst-check", push_buffer, data1, NULL); in GST_START_TEST()
[all …]
Daggregator.c498 GThread *thread1, *thread2; in GST_START_TEST() local
507 thread1 = g_thread_try_new ("gst-check", push_data, &data1, NULL); in GST_START_TEST()
515 g_thread_join (thread1); in GST_START_TEST()
527 GThread *thread1, *thread2; in GST_START_TEST() local
536 thread1 = g_thread_try_new ("gst-check", push_data, &data1, NULL); in GST_START_TEST()
544 g_thread_join (thread1); in GST_START_TEST()
581 GThread *thread1, *thread2; in GST_START_TEST() local
591 thread1 = g_thread_try_new ("gst-check", push_data, &data1, NULL); in GST_START_TEST()
599 g_thread_join (thread1); in GST_START_TEST()
611 GThread *thread1, *thread2; in GST_START_TEST() local
[all …]
/third_party/elfutils/tests/
Ddwfl-proc-attach.c44 static pthread_t thread1; variable
80 if ((err = pthread_create (&thread1, NULL, sleeper, NULL)) != 0) in main()
102 pthread_cancel (thread1); in main()
104 pthread_join (thread1, NULL); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/
D3-1.c25 static pthread_t thread1; variable
34 pthread_cancel(thread1); in alarm_handler()
91 if (pthread_create(&thread1, NULL, t1_func, NULL) != 0) { in main()
113 pthread_join(thread1, NULL); in main()
D1-1.c26 static pthread_t thread1; variable
35 pthread_cancel(thread1); in alarm_handler()
81 if (pthread_create(&thread1, NULL, t1_func, NULL) != 0) { in main()
113 pthread_join(thread1, NULL); in main()
D2-1.c26 static pthread_t thread1; variable
35 pthread_cancel(thread1); in alarm_handler()
94 if (pthread_create(&thread1, NULL, t1_func, NULL) != 0) { in main()
126 pthread_join(thread1, NULL); in main()
/third_party/flutter/engine/flutter/fml/
Dgpu_thread_merger_unittests.cc21 std::thread thread1([&loop1, &latch1, &term1]() { in TEST() local
60 thread1.join(); in TEST()
67 std::thread thread1([&loop1, &latch1]() { in TEST() local
145 thread1.join(); in TEST()
153 std::thread thread1([&loop1, &latch1, &term1]() { in TEST() local
202 thread1.join(); in TEST()
/third_party/ffmpeg/libavutil/tests/
Dcpu_init.c43 pthread_t thread1; in main() local
46 if ((ret = pthread_create(&thread1, NULL, thread_main, &cpu_flags1))) { in main()
54 pthread_join(thread1, NULL); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_settype/
D3-2.c33 static pthread_t thread1; variable
74 if (pthread_create(&thread1, NULL, a_thread_func, NULL) != 0) { in main()
80 pthread_join(thread1, NULL); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/
D4-1.c68 pthread_t thread1; in main() local
80 if (pthread_create(&thread1, NULL, t1_func, NULL) != 0) { in main()
87 pthread_join(thread1, &th_ret); in main()
D2-3.c70 pthread_t thread1; in main() local
83 if (pthread_create(&thread1, NULL, t1_func, NULL) != 0) { in main()
93 if (pthread_join(thread1, (void *)&th_ret) != 0) { in main()
D2-2.c79 pthread_t thread1; in main() local
92 if (pthread_create(&thread1, NULL, t1_func, NULL) != 0) { in main()
115 if (pthread_join(thread1, &th_ret) != 0) { in main()
D1-1.c81 pthread_t thread1; in main() local
93 if (pthread_create(&thread1, NULL, t1_func, NULL) != 0) { in main()
118 pthread_join(thread1, NULL); in main()
D3-1.c85 pthread_t thread1; in main() local
97 if (pthread_create(&thread1, NULL, t1_func, NULL) != 0) { in main()
122 pthread_join(thread1, NULL); in main()
D2-1.c100 pthread_t thread1; in main() local
112 if (pthread_create(&thread1, NULL, t1_func, NULL) != 0) { in main()
137 pthread_join(thread1, NULL); in main()
/third_party/libuv/docs/code/signal/
Dmain.c58 uv_thread_t thread1, thread2; in main() local
60 uv_thread_create(&thread1, thread1_worker, 0); in main()
63 uv_thread_join(&thread1); in main()
/third_party/gstreamer/gstreamer/tests/check/elements/
Dconcat.c114 GThread *thread1, *thread2, *thread3; in GST_START_TEST() local
144 thread1 = g_thread_new ("thread1", (GThreadFunc) push_buffers_time, sink1); in GST_START_TEST()
148 g_thread_join (thread1); in GST_START_TEST()
235 GThread *thread1, *thread2, *thread3; in GST_START_TEST() local
266 thread1 = g_thread_new ("thread1", (GThreadFunc) push_buffers_bytes, sink1); in GST_START_TEST()
270 g_thread_join (thread1); in GST_START_TEST()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/
D2-1.c90 pthread_t thread1; in main() local
108 if (pthread_create(&thread1, NULL, fn_rd, NULL) != 0) { in main()
143 if (pthread_join(thread1, NULL) != 0) { in main()
D5-1.c134 pthread_t thread1, thread2; in main() local
138 if (pthread_create(&thread1, NULL, fn_rd_1, NULL) != 0) { in main()
168 if (pthread_join(thread1, NULL) != 0) { in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/
D2-1.c95 pthread_t thread1; in main() local
112 if (pthread_create(&thread1, NULL, fn, NULL) != 0) { in main()
151 if (pthread_join(thread1, NULL) != 0) { in main()
D5-1.c140 pthread_t thread1, thread2; in main() local
144 if (pthread_create(&thread1, NULL, fn_wr_1, NULL) != 0) { in main()
172 if (pthread_join(thread1, NULL) != 0) { in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_trywrlock/
D1-1.c67 pthread_t thread1, thread2; in main() local
86 if (pthread_create(&thread1, NULL, fn_wr, NULL) != 0) { in main()
121 if (pthread_join(thread1, 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
91 if (pthread_create(&thread1, NULL, fn_wr, NULL) != 0) { in main()
137 if (pthread_join(thread1, NULL) != 0) { in main()
/third_party/pulseaudio/src/tests/
Datomic-test.c90 pa_thread *thread1, *thread2; in START_TEST() local
104 thread1 = pa_thread_new("left", &write_func, &io1); in START_TEST()
109 pa_thread_free(thread1); in START_TEST()
/third_party/openssl/test/
Dthreadstest.c472 thread_t thread1, thread2; in test_multi() local
537 if (!TEST_true(run_thread(&thread1, worker)) in test_multi()
547 if (!TEST_true(wait_for_thread(thread1))) in test_multi()
583 thread_t thread1, thread2; in test_multi_default() local
600 if (!TEST_true(run_thread(&thread1, thread_multi_simple_fetch)) in test_multi_default()
606 if (!TEST_true(wait_for_thread(thread1)) in test_multi_default()

12