Searched refs:threadPool (Results 1 – 3 of 3) sorted by relevance
| /freebsd-14.2/sys/contrib/openzfs/module/zstd/lib/common/ |
| H A D | pool.c | 206 …{ ZSTD_pthread_t* const threadPool = (ZSTD_pthread_t*)ZSTD_malloc(numThreads * sizeof(ZSTD_pthre… in POOL_resize_internal() local 207 if (!threadPool) return 1; in POOL_resize_internal() 209 memcpy(threadPool, ctx->threads, ctx->threadCapacity * sizeof(*threadPool)); in POOL_resize_internal() 211 ctx->threads = threadPool; in POOL_resize_internal() 215 if (ZSTD_pthread_create(&threadPool[threadId], NULL, &POOL_thread, ctx)) { in POOL_resize_internal()
|
| /freebsd-14.2/sys/contrib/zstd/lib/common/ |
| H A D | pool.c | 214 …{ ZSTD_pthread_t* const threadPool = (ZSTD_pthread_t*)ZSTD_customMalloc(numThreads * sizeof(ZSTD… in POOL_resize_internal() local 215 if (!threadPool) return 1; in POOL_resize_internal() 217 ZSTD_memcpy(threadPool, ctx->threads, ctx->threadCapacity * sizeof(*threadPool)); in POOL_resize_internal() 219 ctx->threads = threadPool; in POOL_resize_internal() 223 if (ZSTD_pthread_create(&threadPool[threadId], NULL, &POOL_thread, ctx)) { in POOL_resize_internal()
|
| /freebsd-14.2/contrib/llvm-project/lld/MachO/ |
| H A D | Writer.cpp | 69 ThreadPool threadPool; member in __anonf5f323350111::Writer 1111 threadFutures.emplace_back(threadPool.async( in finalizeLinkEditSegment() 1191 threadFutures.emplace_back(threadPool.async( in writeUuid() 1314 threadPool.async([&] { in run()
|