OSDN Git Service

[ThreadPool] Remove outdated comment after r288016.
authorDavide Italiano <davide@freebsd.org>
Mon, 28 Nov 2016 08:57:05 +0000 (08:57 +0000)
committerDavide Italiano <davide@freebsd.org>
Mon, 28 Nov 2016 08:57:05 +0000 (08:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@288017 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/ThreadPool.h

index 9e948a0..da1834d 100644 (file)
@@ -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