]> granicus.if.org Git - llvm/commitdiff
Added comment about llvm_execute_on_thread waiting for thread to complete.
authorYaron Keren <yaron.keren@gmail.com>
Mon, 24 Nov 2014 14:51:41 +0000 (14:51 +0000)
committerYaron Keren <yaron.keren@gmail.com>
Mon, 24 Nov 2014 14:51:41 +0000 (14:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222654 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/Threading.h

index 7e8758407c7cb8d0abd4360858bf7f9bc4ccc337..3cca1d6a9913f82aea1a6146f8f6474e81077ab0 100644 (file)
@@ -21,7 +21,8 @@ namespace llvm {
   bool llvm_is_multithreaded();
 
   /// llvm_execute_on_thread - Execute the given \p UserFn on a separate
-  /// thread, passing it the provided \p UserData.
+  /// thread, passing it the provided \p UserData and waits for thread 
+  /// completion.
   ///
   /// This function does not guarantee that the code will actually be executed
   /// on a separate thread or honoring the requested stack size, but tries to do