/third_party/musl/libc-test/src/functionalext/supplement/thread/thread_gtest/ |
D | thread_thrd_test.cpp | 73 thrd_t thread1 = thrd_current(); variable 75 EXPECT_TRUE(thrd_equal(thread1, thread2)); 85 thrd_t thread1 = thrd_current(); variable 86 std::thread([&thread1] { in __anon8f40d0dc0102() 88 EXPECT_FALSE(thrd_equal(thread1, thread2)); in __anon8f40d0dc0102()
|
D | thread_cnd_test.cpp | 77 std::thread thread1([&]() { wt.WaitrBroadCast(); }); in __anond145133f0102() variable 83 thread1.join(); 97 std::thread thread1([&]() { wt.WaitrSignal(); }); in __anond145133f0302() variable 108 thread1.join();
|
D | thread_pthrd_test.cpp | 439 pthread_t thread1; variable 440 pthread_create(&thread1, nullptr, BeginLoop, nullptr); 442 pthread_create(&thread2, nullptr, JoinThrd, reinterpret_cast<void*>(thread1)); 445 EXPECT_DEATH(pthread_detach(thread1), ".*"); 447 EXPECT_DEATH(pthread_getattr_np(thread1, &detachAttr), ".*"); 469 pthread_t thread1; variable 470 pthread_create(&thread1, nullptr, BeginLoop, nullptr); 473 pthread_create(&thread2, nullptr, JoinThrd, reinterpret_cast<void*>(thread1)); 477 EXPECT_DEATH(pthread_join(thread1, nullptr), ".*");
|
D | thread_sem_test.cpp | 44 pthread_t thread1, thread2; variable 45 EXPECT_EQ(0, pthread_create(&thread1, nullptr, ThreadFn, &sem_)); 51 EXPECT_EQ(0, pthread_join(thread1, nullptr));
|
/third_party/elfutils/tests/ |
D | dwfl-proc-attach.c | 44 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/gstreamer/gstreamer/tests/check/libs/ |
D | collectpads.c | 454 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 …]
|
D | aggregator.c | 498 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/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/ |
D | 3-1.c | 25 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()
|
D | 1-1.c | 26 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()
|
D | 2-1.c | 26 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/ffmpeg/libavutil/tests/ |
D | cpu_init.c | 43 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/ |
D | 3-2.c | 33 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/libuv/docs/code/signal/ |
D | main.c | 58 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/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/ |
D | 4-1.c | 68 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()
|
D | 2-3.c | 70 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()
|
D | 2-2.c | 79 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()
|
D | 3-1.c | 85 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()
|
D | 1-1.c | 81 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()
|
D | 2-1.c | 100 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/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/ |
D | 2-1.c | 90 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()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/ |
D | 2-1.c | 95 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()
|
/third_party/gstreamer/gstreamer/tests/check/elements/ |
D | concat.c | 114 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_wrlock/ |
D | 1-1.c | 74 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/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_trywrlock/ |
D | 1-1.c | 67 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/pulseaudio/src/tests/ |
D | atomic-test.c | 97 pa_thread *thread1, *thread2; in START_TEST() local 111 thread1 = pa_thread_new("left", &write_func, &io1); in START_TEST() 116 pa_thread_free(thread1); in START_TEST()
|