[PATCH] D36607: [Support/Parallel] - Do not spawn thread for single/last task.
George Rimar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 11 08:10:07 PDT 2017
grimar added a comment.
>> It should never create 65k+ threads. If it does, something's broken.
In that testcase we have 65k output sections. And we call `parallelForEachN` for each. That is how we parallelize writing in LLD.
And it does not seem broken, because usually we have little amount of output sections and much more input sections.
More information about the llvm-commits