diff options
Diffstat (limited to 'llvm/include/llvm/Support/ThreadPool.h')
| -rw-r--r-- | llvm/include/llvm/Support/ThreadPool.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/Support/ThreadPool.h b/llvm/include/llvm/Support/ThreadPool.h index fb825590051..9ada946c6da 100644 --- a/llvm/include/llvm/Support/ThreadPool.h +++ b/llvm/include/llvm/Support/ThreadPool.h @@ -38,8 +38,8 @@ public: using TaskTy = std::function<void()>; using PackagedTaskTy = std::packaged_task<void()>; - /// Construct a pool with the number of threads found by - /// hardware_concurrency(). + /// Construct a pool with the number of core available on the system (or + /// whatever the value returned by std::thread::hardware_concurrency() is). ThreadPool(); /// Construct a pool of \p ThreadCount threads |

