[PATCH] D115019: ThreadPool: grow the pool only as needed
Benoit Jacob via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 2 19:39:41 PST 2021
Benoit updated this revision to Diff 391531.
Benoit added a comment.
Got it, getThreadCount() was really meant to return the max number of threads, not the current number. Those two numbers used to be the same before this patch.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D115019/new/
https://reviews.llvm.org/D115019
Files:
llvm/include/llvm/Support/ThreadPool.h
llvm/lib/Support/ThreadPool.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115019.391531.patch
Type: text/x-patch
Size: 6067 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211203/9c02a7d5/attachment.bin>
More information about the llvm-commits
mailing list