[llvm] r222654 - Added comment about llvm_execute_on_thread waiting for thread to complete.

Yaron Keren yaron.keren at gmail.com
Mon Nov 24 06:51:41 PST 2014


Author: yrnkrn
Date: Mon Nov 24 08:51:41 2014
New Revision: 222654

URL: http://llvm.org/viewvc/llvm-project?rev=222654&view=rev
Log:
Added comment about llvm_execute_on_thread waiting for thread to complete.


Modified:
    llvm/trunk/include/llvm/Support/Threading.h

Modified: llvm/trunk/include/llvm/Support/Threading.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/Threading.h?rev=222654&r1=222653&r2=222654&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/Threading.h (original)
+++ llvm/trunk/include/llvm/Support/Threading.h Mon Nov 24 08:51:41 2014
@@ -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





More information about the llvm-commits mailing list