diff options
| author | Davide Italiano <davide@freebsd.org> | 2016-11-28 08:57:05 +0000 |
|---|---|---|
| committer | Davide Italiano <davide@freebsd.org> | 2016-11-28 08:57:05 +0000 |
| commit | 3dd87dad64e664a35ce5a455cd66d74be43374aa (patch) | |
| tree | b5208a3387cf88ccc280dd34d060753baa112344 /llvm | |
| parent | 3ea0bfa7e02808637eca838933aee980cc1c1d88 (diff) | |
| download | bcm5719-llvm-3dd87dad64e664a35ce5a455cd66d74be43374aa.tar.gz bcm5719-llvm-3dd87dad64e664a35ce5a455cd66d74be43374aa.zip | |
[ThreadPool] Remove outdated comment after r288016.
llvm-svn: 288017
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/include/llvm/Support/ThreadPool.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/include/llvm/Support/ThreadPool.h b/llvm/include/llvm/Support/ThreadPool.h index 9e948a0e9ee..da1834dbea9 100644 --- a/llvm/include/llvm/Support/ThreadPool.h +++ b/llvm/include/llvm/Support/ThreadPool.h @@ -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 |

