Searched refs:threadCapacity (Results 1 – 2 of 2) sorted by relevance
49 size_t threadCapacity; member144 ctx->threadCapacity = 0; in POOL_create()151 ctx->threadCapacity = i; in POOL_create()155 ctx->threadCapacity = numThreads; in POOL_create()176 for (i = 0; i < ctx->threadCapacity; ++i) { in POOL_join()198 + ctx->threadCapacity * sizeof(ZSTD_pthread_t); in POOL_sizeof()205 if (numThreads <= ctx->threadCapacity) { in POOL_resize_internal()214 memcpy(threadPool, ctx->threads, ctx->threadCapacity * sizeof(*threadPool)); in POOL_resize_internal()219 for (threadId = ctx->threadCapacity; threadId < numThreads; ++threadId) { in POOL_resize_internal()221 ctx->threadCapacity = threadId; in POOL_resize_internal()[all …]
38 size_t threadCapacity; member146 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()[all …]