Searched refs:thread_main (Results 1 – 10 of 10) sorted by relevance
/third_party/ffmpeg/libavutil/tests/ |
D | cpu_init.c | 30 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/ |
D | bench.rs | 13 (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
|
D | test_synchronization.rs | 22 (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
|
D | bench_acquire.rs | 17 (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/ |
D | test-embed.c | 36 static void thread_main(void* arg) { in thread_main() function 55 ASSERT_EQ(0, uv_thread_create(&thread, thread_main, NULL)); in TEST_IMPL()
|
D | test-eintr-handling.c | 49 static void thread_main(void* arg) { in thread_main() function 77 ASSERT(0 == uv_thread_create(&thread, thread_main, &ctx)); in TEST_IMPL()
|
D | test-pipe-set-non-blocking.c | 29 static void thread_main(void* arg) { in thread_main() function 88 ASSERT(0 == uv_thread_create(&thread, thread_main, &ctx)); in TEST_IMPL()
|
D | test-fs.c | 3470 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/ |
D | empty.c | 46 static int thread_main(void* data) in thread_main() function 97 if (thrd_create(&thread, thread_main, NULL) != thrd_success) in main()
|
D | threads.c | 55 static int thread_main(void* data) in thread_main() function 114 if (thrd_create(&threads[i].id, thread_main, threads + i) != in main()
|