Lines Matching refs:threads
38 static uv_thread_t* threads;
179 if (uv_thread_join(threads + i))
182 if (threads != default_threads)
183 uv__free(threads);
188 threads = NULL;
207 threads = default_threads;
209 threads = uv__malloc(nthreads * sizeof(threads[0]));
210 if (threads == NULL) {
212 threads = default_threads;
230 if (uv_thread_create(threads + i, worker, &sem))