/libuv/docs/code/locks/ |
H A D | main.c | 47 uv_thread_create(&threads[0], reader, &thread_nums[0]); in main() 48 uv_thread_create(&threads[1], reader, &thread_nums[1]); in main() 50 uv_thread_create(&threads[2], writer, &thread_nums[2]); in main()
|
/libuv/test/ |
H A D | test-barrier.c | 57 ASSERT_OK(uv_thread_create(&thread, worker, &wc)); in TEST_IMPL() 80 ASSERT_OK(uv_thread_create(&thread, worker, &wc)); in TEST_IMPL() 102 ASSERT_OK(uv_thread_create(&thread, worker, &wc)); in TEST_IMPL() 139 ASSERT_OK(uv_thread_create(&threads[i], serial_worker, &barrier)); in TEST_IMPL()
|
H A D | test-thread.c | 150 r = uv_thread_create(&tid, thread_entry, (void *) 42); in TEST_IMPL() 178 r = uv_thread_create(&threads[i].thread_id, do_work, &threads[i]); in TEST_IMPL() 208 ASSERT_OK(uv_thread_create(threads + 0, tls_thread, threads + 0)); in TEST_IMPL() 209 ASSERT_OK(uv_thread_create(threads + 1, tls_thread, threads + 1)); in TEST_IMPL() 247 ASSERT_OK(uv_thread_create(&thread, thread_check_stack, NULL)); in TEST_IMPL() 302 ASSERT_OK(uv_thread_create(&thread, thread_detach_cb, NULL)); in TEST_IMPL()
|
H A D | test-thread-equal.c | 45 ASSERT_OK(uv_thread_create(threads + 0, check_thread, subthreads + 0)); in TEST_IMPL() 46 ASSERT_OK(uv_thread_create(threads + 1, check_thread, subthreads + 1)); in TEST_IMPL()
|
H A D | test-condvar.c | 133 ASSERT_OK(uv_thread_create(&thread, worker, &wc)); in TEST_IMPL() 152 ASSERT_OK(uv_thread_create(&thread, worker, &wc)); in TEST_IMPL() 197 ASSERT_OK(uv_thread_create(&thread, worker, &wc)); in TEST_IMPL() 216 ASSERT_OK(uv_thread_create(&thread, worker, &wc)); in TEST_IMPL()
|
H A D | test-process-title-threadsafe.c | 95 ASSERT_OK(uv_thread_create(&getter_thread, getter_thread_body, &getter_sem)); in TEST_IMPL() 98 ASSERT_OK(uv_thread_create(&setter_threads[i], setter_thread_body, NULL)); in TEST_IMPL()
|
H A D | test-semaphore.c | 58 ASSERT_OK(uv_thread_create(&thread, worker, &wc)); in TEST_IMPL() 83 ASSERT_OK(uv_thread_create(&thread, worker, &wc)); in TEST_IMPL()
|
H A D | test-thread-affinity.c | 103 ASSERT_OK(uv_thread_create(threads + 1, in TEST_IMPL() 106 ASSERT_OK(uv_thread_create(threads + 2, in TEST_IMPL()
|
H A D | benchmark-thread.c | 49 r = uv_thread_create(&tid, thread_entry, (void *) 42); in BENCHMARK_IMPL()
|
H A D | test-async-null-cb.c | 58 ASSERT_OK(uv_thread_create(&thread, thread_cb, NULL)); in TEST_IMPL()
|
H A D | test-embed.c | 55 ASSERT_OK(uv_thread_create(&thread, thread_main, NULL)); in TEST_IMPL()
|
H A D | test-tcp-reuseport.c | 195 uv_thread_create(&thread_loop_id1, run_event_loop, &thread_loop1); in TEST_IMPL() 196 uv_thread_create(&thread_loop_id2, run_event_loop, &thread_loop2); in TEST_IMPL()
|
H A D | test-thread-priority.c | 61 ASSERT_OK(uv_thread_create(&task_id, simple_task, NULL)); in TEST_IMPL()
|
H A D | test-signal-multiple-loops.c | 239 r = uv_thread_create(&loop_creating_threads[i], in TEST_IMPL() 253 r = uv_thread_create(&signal_handling_threads[i], in TEST_IMPL()
|
H A D | test-eintr-handling.c | 77 ASSERT_OK(uv_thread_create(&thread, thread_main, &ctx)); in TEST_IMPL()
|
H A D | test-async.c | 102 r = uv_thread_create(&thread, thread_cb, NULL); in prepare_cb()
|
H A D | test-udp-reuseport.c | 232 uv_thread_create(&thread_loop_id1, run_event_loop, &thread_loop1); in TEST_IMPL() 233 uv_thread_create(&thread_loop_id2, run_event_loop, &thread_loop2); in TEST_IMPL()
|
H A D | benchmark-async-pummel.c | 78 ASSERT_OK(uv_thread_create(tids + i, pummel, &handle)); in test_async_pummel()
|
H A D | benchmark-million-async.c | 102 ASSERT_OK(uv_thread_create(&thread_id, thread_cb, NULL)); in BENCHMARK_IMPL()
|
H A D | test-pipe-set-non-blocking.c | 88 ASSERT_OK(uv_thread_create(&thread, thread_main, &ctx)); in TEST_IMPL()
|
H A D | test-thread-name.c | 124 ASSERT_OK(uv_thread_create(threads + 1, thread_run, &sem)); in TEST_IMPL()
|
H A D | benchmark-async.c | 93 ASSERT_OK(uv_thread_create(&ctx->thread, worker, ctx)); in test_async()
|
H A D | test-mutexes.c | 147 ASSERT_OK(uv_thread_create(&thread, thread_rwlock_trylock_peer, NULL)); in TEST_IMPL()
|
/libuv/docs/code/thread-create/ |
H A D | main.c | 29 uv_thread_create(&hare_id, hare, &tracklen); in main() 30 uv_thread_create(&tortoise_id, tortoise, &tracklen); in main()
|
/libuv/docs/code/signal/ |
H A D | main.c | 60 uv_thread_create(&thread1, thread1_worker, 0); in main() 61 uv_thread_create(&thread2, thread2_worker, 0); in main()
|