Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavutil/tests/
H A 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/
H A 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() functions
H A 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() functions
H A 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() functions
/third_party/libuv/test/
H A Dtest-eintr-handling.c49 static void thread_main(void* arg) { in thread_main() function
77 ASSERT_OK(uv_thread_create(&thread, thread_main, &ctx)); in TEST_IMPL()
H A Dtest-embed.c36 static void thread_main(void* arg) { in thread_main() function
55 ASSERT_OK(uv_thread_create(&thread, thread_main, NULL)); in TEST_IMPL()
H A Dtest-pipe-set-non-blocking.c29 static void thread_main(void* arg) { in thread_main() function
88 ASSERT_OK(uv_thread_create(&thread, thread_main, &ctx)); in TEST_IMPL()
H A Dtest-fs.c3703 static void thread_main(void* arg) { in thread_main() function
3787 ASSERT_OK(uv_thread_create(&thread, thread_main, &ctx)); in test_fs_partial()
/third_party/glfw/tests/
H A Dempty.c48 static int thread_main(void* data) in thread_main() function
99 if (thrd_create(&thread, thread_main, NULL) != thrd_success) in main()
H A Dthreads.c63 static int thread_main(void* data) in thread_main() function
122 if (thrd_create(&threads[i].id, thread_main, threads + i) != in main()

Completed in 7 milliseconds