Searched refs:nthreads (Results 1 – 4 of 4) sorted by relevance
35 unsigned int nthreads; member75 static int test_async(int nthreads) { in test_async() argument82 threads = calloc(nthreads, sizeof(threads[0])); in test_async()85 for (i = 0; i < nthreads; i++) { in test_async()87 ctx->nthreads = nthreads; in test_async()100 for (i = 0; i < nthreads; i++) in test_async()105 for (i = 0; i < nthreads; i++) { in test_async()114 nthreads, in test_async()
64 static int test_async_pummel(int nthreads) { in test_async_pummel() argument71 tids = calloc(nthreads, sizeof(tids[0])); in test_async_pummel()77 for (i = 0; i < nthreads; i++) in test_async_pummel()87 for (i = 0; i < nthreads; i++) in test_async_pummel()91 nthreads, in test_async_pummel()
37 static unsigned int nthreads; variable46 return (nthreads + 1) / 2; in slow_work_thread_threshold()170 if (nthreads == 0) in uv__threadpool_cleanup()178 for (i = 0; i < nthreads; i++) in uv__threadpool_cleanup()189 nthreads = 0; in uv__threadpool_cleanup()202 nthreads = atoi(val); in init_threads()203 if (nthreads == 0) in init_threads()204 nthreads = 1; in init_threads()206 nthreads = MAX_THREADPOOL_SIZE; in init_threads()233 for (i = 0; i < nthreads; i++) in init_threads()[all …]
2473 * unix,win: limit concurrent DNS calls to nthreads/2 (Anna Henningsen)
Completed in 16 milliseconds