num_threads 40 src/libsir/include/sir/threadpool.h bool _sir_threadpool_create(sir_threadpool** pool, size_t num_threads); num_threads 404 src/libsir/include/sir/types.h size_t num_threads; /**< The number of threads in the pool. */ num_threads 45 src/libsir/src/sirthreadpool.c bool _sir_threadpool_create(sir_threadpool** pool, size_t num_threads) { num_threads 46 src/libsir/src/sirthreadpool.c if (!pool || !num_threads || num_threads > SIR_THREADPOOL_MAX_THREADS) num_threads 53 src/libsir/src/sirthreadpool.c (*pool)->threads = calloc(num_threads, sizeof(sir_thread)); num_threads 60 src/libsir/src/sirthreadpool.c (*pool)->num_threads = num_threads; num_threads 81 src/libsir/src/sirthreadpool.c for (size_t n = 0; n < num_threads; n++) { num_threads 155 src/libsir/src/sirthreadpool.c for (size_t n = 0; n < (*pool)->num_threads; n++) { num_threads 159 src/libsir/src/sirthreadpool.c _sir_selflog("joining thread %zu of %zu...", n + 1, (*pool)->num_threads);