Home
last modified time | relevance | path

Searched refs:uv_thread_create (Results 1 – 25 of 36) sorted by relevance

12

/libuv/docs/code/locks/
H A Dmain.c47 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 Dtest-barrier.c57 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 Dtest-thread.c150 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 Dtest-thread-equal.c45 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 Dtest-condvar.c133 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 Dtest-process-title-threadsafe.c95 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 Dtest-semaphore.c58 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 Dtest-thread-affinity.c103 ASSERT_OK(uv_thread_create(threads + 1, in TEST_IMPL()
106 ASSERT_OK(uv_thread_create(threads + 2, in TEST_IMPL()
H A Dbenchmark-thread.c49 r = uv_thread_create(&tid, thread_entry, (void *) 42); in BENCHMARK_IMPL()
H A Dtest-async-null-cb.c58 ASSERT_OK(uv_thread_create(&thread, thread_cb, NULL)); in TEST_IMPL()
H A Dtest-embed.c55 ASSERT_OK(uv_thread_create(&thread, thread_main, NULL)); in TEST_IMPL()
H A Dtest-tcp-reuseport.c195 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 Dtest-thread-priority.c61 ASSERT_OK(uv_thread_create(&task_id, simple_task, NULL)); in TEST_IMPL()
H A Dtest-signal-multiple-loops.c239 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 Dtest-eintr-handling.c77 ASSERT_OK(uv_thread_create(&thread, thread_main, &ctx)); in TEST_IMPL()
H A Dtest-async.c102 r = uv_thread_create(&thread, thread_cb, NULL); in prepare_cb()
H A Dtest-udp-reuseport.c232 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 Dbenchmark-async-pummel.c78 ASSERT_OK(uv_thread_create(tids + i, pummel, &handle)); in test_async_pummel()
H A Dbenchmark-million-async.c102 ASSERT_OK(uv_thread_create(&thread_id, thread_cb, NULL)); in BENCHMARK_IMPL()
H A Dtest-pipe-set-non-blocking.c88 ASSERT_OK(uv_thread_create(&thread, thread_main, &ctx)); in TEST_IMPL()
H A Dtest-thread-name.c124 ASSERT_OK(uv_thread_create(threads + 1, thread_run, &sem)); in TEST_IMPL()
H A Dbenchmark-async.c93 ASSERT_OK(uv_thread_create(&ctx->thread, worker, ctx)); in test_async()
H A Dtest-mutexes.c147 ASSERT_OK(uv_thread_create(&thread, thread_rwlock_trylock_peer, NULL)); in TEST_IMPL()
/libuv/docs/code/thread-create/
H A Dmain.c29 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 Dmain.c60 uv_thread_create(&thread1, thread1_worker, 0); in main()
61 uv_thread_create(&thread2, thread2_worker, 0); in main()

Completed in 105 milliseconds

12