[llvm] r288017 - [ThreadPool] Remove outdated comment after r288016.
Davide Italiano via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 28 00:57:05 PST 2016
Author: davide
Date: Mon Nov 28 02:57:05 2016
New Revision: 288017
URL: http://llvm.org/viewvc/llvm-project?rev=288017&view=rev
Log:
[ThreadPool] Remove outdated comment after r288016.
Modified:
llvm/trunk/include/llvm/Support/ThreadPool.h
Modified: llvm/trunk/include/llvm/Support/ThreadPool.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/ThreadPool.h?rev=288017&r1=288016&r2=288017&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/ThreadPool.h (original)
+++ llvm/trunk/include/llvm/Support/ThreadPool.h Mon Nov 28 02:57:05 2016
@@ -72,8 +72,7 @@ public:
/// Blocking destructor: the pool will wait for all the threads to complete.
~ThreadPool();
- /// Asynchronous submission of a task to the pool. The returned future can be
- /// used to wait for the task to finish and is *non-blocking* on destruction.
+ /// Asynchronous submission of a task to the pool.
template <typename Function, typename... Args>
inline void async(Function &&F, Args &&... ArgList) {
auto Task =
@@ -87,8 +86,7 @@ public:
#endif
}
- /// Asynchronous submission of a task to the pool. The returned future can be
- /// used to wait for the task to finish and is *non-blocking* on destruction.
+ /// Asynchronous submission of a task to the pool.
template <typename Function>
inline void async(Function &&F) {
#ifndef _MSC_VER
More information about the llvm-commits
mailing list