[PATCH] D25784: [Support] ThreadPool: Don't spawn any threads when ThreadCount = 1

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 19 12:01:10 PDT 2016


mehdi_amini added a comment.

Thinking a bit more about it, I'm not sure it is intuitive: the client could do something else after issuing a task to the pool. After this patch this computation would no longer occur in parallel.


https://reviews.llvm.org/D25784





More information about the llvm-commits mailing list