From ea5f06a568b73ff5263ca2d0f53dc5110395ee52 Mon Sep 17 00:00:00 2001 From: Yaron Keren Date: Mon, 24 Nov 2014 14:51:41 +0000 Subject: [PATCH] Added comment about llvm_execute_on_thread waiting for thread to complete. llvm-svn: 222654 --- llvm/include/llvm/Support/Threading.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/llvm/include/llvm/Support/Threading.h b/llvm/include/llvm/Support/Threading.h index 7e87584..3cca1d6 100644 --- a/llvm/include/llvm/Support/Threading.h +++ b/llvm/include/llvm/Support/Threading.h @@ -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 -- 2.7.4