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
This commit is contained in:
Yaron Keren 2014-11-24 14:51:41 +00:00
parent b955bed064
commit de089dd0c6

View File

@ -21,7 +21,8 @@ namespace llvm {
bool llvm_is_multithreaded(); bool llvm_is_multithreaded();
/// llvm_execute_on_thread - Execute the given \p UserFn on a separate /// 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 /// 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 /// on a separate thread or honoring the requested stack size, but tries to do