From: Davide Italiano Date: Mon, 28 Nov 2016 08:57:05 +0000 (+0000) Subject: [ThreadPool] Remove outdated comment after r288016. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2905563d5075748a4be37684a255f550175fde32;p=llvm [ThreadPool] Remove outdated comment after r288016. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@288017 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Support/ThreadPool.h b/include/llvm/Support/ThreadPool.h index 9e948a0e9ee..da1834dbea9 100644 --- a/include/llvm/Support/ThreadPool.h +++ b/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