Lines Matching refs:threadCapacity
38 size_t threadCapacity; member
146 ctx->threadCapacity = 0; in POOL_create_advanced()
154 ctx->threadCapacity = i; in POOL_create_advanced()
158 ctx->threadCapacity = numThreads; in POOL_create_advanced()
177 for (i = 0; i < ctx->threadCapacity; ++i) { in POOL_join()
201 + ctx->threadCapacity * sizeof(ZSTD_pthread_t); in POOL_sizeof()
208 if (numThreads <= ctx->threadCapacity) { in POOL_resize_internal()
217 ZSTD_memcpy(threadPool, ctx->threads, ctx->threadCapacity * sizeof(*threadPool)); in POOL_resize_internal()
222 for (threadId = ctx->threadCapacity; threadId < numThreads; ++threadId) { in POOL_resize_internal()
224 ctx->threadCapacity = threadId; in POOL_resize_internal()
229 ctx->threadCapacity = numThreads; in POOL_resize_internal()