Home
last modified time | relevance | path

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

12

/third_party/libuv/docs/code/locks/
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()
/third_party/libuv/test/
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()
Dtest-thread.c123 r = uv_thread_create(&tid, thread_entry, (void *) 42); in TEST_IMPL()
151 ASSERT(0 == uv_thread_create(threads + 0, tls_thread, threads + 0)); in TEST_IMPL()
152 ASSERT(0 == uv_thread_create(threads + 1, tls_thread, threads + 1)); in TEST_IMPL()
190 ASSERT(0 == uv_thread_create(&thread, thread_check_stack, NULL)); in TEST_IMPL()
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()
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()
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()
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()
Dbenchmark-thread.c49 r = uv_thread_create(&tid, thread_entry, (void *) 42); in BENCHMARK_IMPL()
Dtest-async-null-cb.c58 ASSERT(0 == uv_thread_create(&thread, thread_cb, NULL)); in TEST_IMPL()
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()
Dtest-eintr-handling.c77 ASSERT(0 == uv_thread_create(&thread, thread_main, &ctx)); in TEST_IMPL()
Dtest-async.c102 r = uv_thread_create(&thread, thread_cb, NULL); in prepare_cb()
Dtest-embed.c127 uv_thread_create(&embed_thread, embed_thread_runner, NULL); in TEST_IMPL()
Dbenchmark-async-pummel.c77 ASSERT(0 == uv_thread_create(tids + i, pummel, &handle)); in test_async_pummel()
Dbenchmark-million-async.c101 ASSERT(0 == uv_thread_create(&thread_id, thread_cb, NULL)); in BENCHMARK_IMPL()
Dtest-metrics.c102 ASSERT_EQ(0, uv_thread_create(&threads[i], metrics_routine_cb, NULL)); in TEST_IMPL()
Dtest-pipe-set-non-blocking.c88 ASSERT(0 == uv_thread_create(&thread, thread_main, &ctx)); in TEST_IMPL()
Dbenchmark-async.c92 ASSERT(0 == uv_thread_create(&ctx->thread, worker, ctx)); in test_async()
Dtest-mutexes.c147 ASSERT(0 == uv_thread_create(&thread, thread_rwlock_trylock_peer, NULL)); in TEST_IMPL()
/third_party/libuv/docs/code/thread-create/
Dmain.c30 uv_thread_create(&hare_id, hare, &tracklen); in main()
31 uv_thread_create(&tortoise_id, tortoise, &tracklen); in main()
/third_party/libuv/docs/code/signal/
Dmain.c60 uv_thread_create(&thread1, thread1_worker, 0); in main()
61 uv_thread_create(&thread2, thread2_worker, 0); in main()
/third_party/node/test/node-api/test_fatal/
Dtest_fatal.c25 (uv_thread_create(&uv_thread, work_thread, NULL) == 0), in TestThread()
/third_party/libuv/docs/src/
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.
/third_party/node/test/node-api/test_threadsafe_function/
Dbinding.c66 if (uv_thread_create(&uv_threads[1], secondary_thread, ts_fn) != 0) { in data_source_thread()
230 (uv_thread_create(&uv_threads[0], data_source_thread, ts_fn) == 0), in StartThreadInternal()
/third_party/node/test/node-api/test_instance_data/
Dtest_instance_data.c193 uv_thread_create(&data->thread, in TestThreadsafeFunction()

12