Home
last modified time | relevance | path

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

12

/netbsd-src/external/mit/libuv/dist/test/
H A Dtest-barrier.c54 ASSERT(0 == uv_thread_create(&thread, worker, &wc)); in TEST_IMPL()
76 ASSERT(0 == uv_thread_create(&thread, worker, &wc)); in TEST_IMPL()
96 ASSERT(0 == uv_thread_create(&thread, worker, &wc)); in TEST_IMPL()
129 ASSERT(0 == uv_thread_create(&threads[i], serial_worker, &barrier)); in TEST_IMPL()
H A Dtest-thread.c154 r = uv_thread_create(&tid, thread_entry, (void *) 42); in TEST_IMPL()
182 r = uv_thread_create(&threads[i].thread_id, do_work, &threads[i]); in TEST_IMPL()
212 ASSERT(0 == uv_thread_create(threads + 0, tls_thread, threads + 0)); in TEST_IMPL()
213 ASSERT(0 == uv_thread_create(threads + 1, tls_thread, threads + 1)); in TEST_IMPL()
251 ASSERT(0 == uv_thread_create(&thread, thread_check_stack, NULL)); in TEST_IMPL()
H A Dtest-condvar.c133 ASSERT(0 == uv_thread_create(&thread, worker, &wc)); in TEST_IMPL()
152 ASSERT(0 == uv_thread_create(&thread, worker, &wc)); in TEST_IMPL()
197 ASSERT(0 == uv_thread_create(&thread, worker, &wc)); in TEST_IMPL()
216 ASSERT(0 == uv_thread_create(&thread, worker, &wc)); in TEST_IMPL()
H A Dtest-thread-equal.c45 ASSERT(0 == uv_thread_create(threads + 0, check_thread, subthreads + 0)); in TEST_IMPL()
46 ASSERT(0 == uv_thread_create(threads + 1, check_thread, subthreads + 1)); in TEST_IMPL()
H A Dtest-process-title-threadsafe.c96 uv_thread_create(&getter_thread, getter_thread_body, &getter_sem)); in TEST_IMPL()
99 ASSERT(0 == uv_thread_create(&setter_threads[i], setter_thread_body, NULL)); in TEST_IMPL()
H A Dtest-semaphore.c58 ASSERT(0 == uv_thread_create(&thread, worker, &wc)); in TEST_IMPL()
83 ASSERT(0 == uv_thread_create(&thread, worker, &wc)); in TEST_IMPL()
H A Dtest-signal-multiple-loops.c223 r = uv_thread_create(&loop_creating_threads[i], in TEST_IMPL()
237 r = uv_thread_create(&signal_handling_threads[i], 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(0 == uv_thread_create(&thread, thread_cb, NULL)); in TEST_IMPL()
H A Dtest-embed.c55 ASSERT_EQ(0, uv_thread_create(&thread, thread_main, NULL)); in TEST_IMPL()
H A Dtest-eintr-handling.c77 ASSERT(0 == 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 Dbenchmark-async-pummel.c77 ASSERT(0 == uv_thread_create(tids + i, pummel, &handle)); in test_async_pummel()
H A Dbenchmark-million-async.c101 ASSERT(0 == uv_thread_create(&thread_id, thread_cb, NULL)); in BENCHMARK_IMPL()
H A Dtest-metrics.c102 ASSERT_EQ(0, uv_thread_create(&threads[i], metrics_routine_cb, NULL)); in TEST_IMPL()
H A Dtest-pipe-set-non-blocking.c88 ASSERT(0 == uv_thread_create(&thread, thread_main, &ctx)); in TEST_IMPL()
H A Dbenchmark-async.c92 ASSERT(0 == uv_thread_create(&ctx->thread, worker, ctx)); in test_async()
H A Dtest-mutexes.c147 ASSERT(0 == uv_thread_create(&thread, thread_rwlock_trylock_peer, NULL)); in TEST_IMPL()
H A Dtest-ipc-send-recv.c174 r = uv_thread_create(&tid, ipc_send_recv_helper_threadproc, (void *) 42); in run_test()
/netbsd-src/external/mit/libuv/dist/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()
/netbsd-src/external/mit/libuv/dist/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()
/netbsd-src/external/mit/libuv/dist/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()
/netbsd-src/external/mit/libuv/dist/docs/src/
H A Dthreading.rst21 value that was passed to :c:func:`uv_thread_create`.
77 .. c:function:: int uv_thread_create(uv_thread_t* tid, uv_thread_cb entry, void* arg)
83 Like :c:func:`uv_thread_create`, but additionally specifies options for creating a new thread.
/netbsd-src/external/mit/libuv/dist/src/
H A Dthreadpool.c230 if (uv_thread_create(threads + i, worker, &sem)) in init_threads()
/netbsd-src/external/mit/libuv/dist/src/win/
H A Dthread.c114 int uv_thread_create(uv_thread_t *tid, void (*entry)(void *arg), void *arg) { in uv_thread_create() function

12