summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaron Keren <yaron.keren@gmail.com>2014-11-24 14:51:41 +0000
committerYaron Keren <yaron.keren@gmail.com>2014-11-24 14:51:41 +0000
commitde089dd0c662478171adfb67b0a3336b31b34ce0 (patch)
treec20214ae4bfe7e90b1dd5fb9c10dc57165800b2b
parentb955bed064d5f10ab72adf028bb8ef438901377c (diff)
Added comment about llvm_execute_on_thread waiting for thread to complete.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222654 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Support/Threading.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Support/Threading.h b/include/llvm/Support/Threading.h
index 7e8758407c7..3cca1d6a991 100644
--- a/include/llvm/Support/Threading.h
+++ b/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