summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/src/kmp_runtime.cpp
diff options
context:
space:
mode:
authorKazuaki Ishizaki <ishizaki@jp.ibm.com>2020-01-07 14:03:31 +0800
committerJim Lin <tclin914@gmail.com>2020-01-07 14:05:03 +0800
commit4c6a098ad52fc2844f7733bc051cd7a729500f04 (patch)
tree193f3aec653ba4efa032f12fd62c3a4f5b5cf57f /openmp/runtime/src/kmp_runtime.cpp
parent6598af4a54b0f67cdaf14ca1b6809e6f109679e8 (diff)
downloadbcm5719-llvm-4c6a098ad52fc2844f7733bc051cd7a729500f04.tar.gz
bcm5719-llvm-4c6a098ad52fc2844f7733bc051cd7a729500f04.zip
[OpenMP] NFC: Fix trivial typos in comments
Reviewers: jdoerfert, Jim Reviewed By: Jim Subscribers: Jim, mgorny, guansong, jfb, openmp-commits Tags: #openmp Differential Revision: https://reviews.llvm.org/D72285
Diffstat (limited to 'openmp/runtime/src/kmp_runtime.cpp')
-rw-r--r--openmp/runtime/src/kmp_runtime.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/openmp/runtime/src/kmp_runtime.cpp b/openmp/runtime/src/kmp_runtime.cpp
index 4f4559589e9..acd157db8e5 100644
--- a/openmp/runtime/src/kmp_runtime.cpp
+++ b/openmp/runtime/src/kmp_runtime.cpp
@@ -3927,8 +3927,8 @@ static int __kmp_reset_root(int gtid, kmp_root_t *root) {
}
__kmp_reap_thread(root->r.r_uber_thread, 1);
- // We canot put root thread to __kmp_thread_pool, so we have to reap it istead
- // of freeing.
+ // We canot put root thread to __kmp_thread_pool, so we have to reap it
+ // instead of freeing.
root->r.r_uber_thread = NULL;
/* mark root as no longer in use */
root->r.r_begin = FALSE;
OpenPOWER on IntegriCloud