Home
last modified time | relevance | path

Searched refs:thread_main (Results 1 – 10 of 10) sorted by relevance

/third_party/ffmpeg/libavutil/tests/
Dcpu_init.c30 static void *thread_main(void *arg) in thread_main() function
46 if ((ret = pthread_create(&thread1, NULL, thread_main, &cpu_flags1))) { in main()
50 if ((ret = pthread_create(&thread2, NULL, thread_main, &cpu_flags2))) { in main()
/third_party/rust/crates/once_cell/examples/
Dbench.rs13 (0..N_THREADS).map(|i| std::thread::spawn(move || thread_main(i))).collect::<Vec<_>>(); in main()
23 fn thread_main(i: usize) { in thread_main() function
Dtest_synchronization.rs22 (0..N_THREADS).map(|i| std::thread::spawn(move || thread_main(i))).collect::<Vec<_>>(); in main()
30 fn thread_main(i: usize) { in thread_main() function
Dbench_acquire.rs17 (0..N_THREADS).map(|i| std::thread::spawn(move || thread_main(i))).collect::<Vec<_>>(); in main()
26 fn thread_main(i: usize) { in thread_main() function
/third_party/libuv/test/
Dtest-embed.c36 static void thread_main(void* arg) { in thread_main() function
55 ASSERT_EQ(0, uv_thread_create(&thread, thread_main, NULL)); in TEST_IMPL()
Dtest-eintr-handling.c49 static void thread_main(void* arg) { in thread_main() function
77 ASSERT(0 == uv_thread_create(&thread, thread_main, &ctx)); in TEST_IMPL()
Dtest-pipe-set-non-blocking.c29 static void thread_main(void* arg) { in thread_main() function
88 ASSERT(0 == uv_thread_create(&thread, thread_main, &ctx)); in TEST_IMPL()
Dtest-fs.c3470 static void thread_main(void* arg) { in thread_main() function
3554 ASSERT(0 == uv_thread_create(&thread, thread_main, &ctx)); in test_fs_partial()
/third_party/glfw/tests/
Dempty.c46 static int thread_main(void* data) in thread_main() function
97 if (thrd_create(&thread, thread_main, NULL) != thrd_success) in main()
Dthreads.c55 static int thread_main(void* data) in thread_main() function
114 if (thrd_create(&threads[i].id, thread_main, threads + i) != in main()