From 3dd87dad64e664a35ce5a455cd66d74be43374aa Mon Sep 17 00:00:00 2001 From: Davide Italiano Date: Mon, 28 Nov 2016 08:57:05 +0000 Subject: [PATCH] [ThreadPool] Remove outdated comment after r288016. llvm-svn: 288017 --- llvm/include/llvm/Support/ThreadPool.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/llvm/include/llvm/Support/ThreadPool.h b/llvm/include/llvm/Support/ThreadPool.h index 9e948a0e9eef..da1834dbea93 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 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 inline void async(Function &&F) { #ifndef _MSC_VER