diff options
| author | Tobias Burnus <burnus@gcc.gnu.org> | 2019-12-11 12:45:49 +0100 |
|---|---|---|
| committer | Tobias Burnus <burnus@gcc.gnu.org> | 2019-12-11 12:45:49 +0100 |
| commit | 93d90219879aed52fb5a3ec191df59867e66240d (patch) | |
| tree | 2622e8d5fd6fe09a9c69249428ac6b697bf37519 /libgomp/task.c | |
| parent | a0221aeebd5bbe9ba097490b4b916495f2fe163e (diff) | |
libgomp – spelling fixes, incl. omp_lib.h.in
* omp_lib.h.in: Fix spelling of function declaration
omp_get_cancell(l)ation.
* libgomp.texi (acc_is_present, acc_async_test, acc_async_test_all):
Fix typos.
* env.c: Fix comment typos.
* oacc-host.c: Likewise.
* ordered.c: Likewise.
* task.c: Likewise.
* team.c: Likewise.
* config/gcn/task.c: Likewise.
* config/gcn/team.c: Likewise.
* config/nvptx/task.c: Likewise.
* config/nvptx/team.c: Likewise.
* plugin/plugin-gcn.c: Likewise.
* testsuite/libgomp.fortran/jacobi.f: Likewise.
* testsuite/libgomp.hsa.c/tiling-2.c: Likewise.
* testsuite/libgomp.oacc-c-c++-common/enter_exit-lib.c: Likewise.
From-SVN: r279218
Diffstat (limited to 'libgomp/task.c')
| -rw-r--r-- | libgomp/task.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libgomp/task.c b/libgomp/task.c index 15177ac8824..1ecb5d918c6 100644 --- a/libgomp/task.c +++ b/libgomp/task.c @@ -23,7 +23,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ -/* This file handles the maintainence of tasks in response to task +/* This file handles the maintenance of tasks in response to task creation and termination. */ #include "libgomp.h" @@ -1157,7 +1157,7 @@ gomp_task_run_post_handle_dependers (struct gomp_task *child_task, /* CHILD_TASK satisfies a dependency for TASK. Keep track of TASK's remaining dependencies. Once TASK has no other - depenencies, put it into the various queues so it will get + dependencies, put it into the various queues so it will get scheduled for execution. */ if (--task->num_dependees != 0) continue; @@ -1674,7 +1674,7 @@ gomp_task_maybe_wait_for_dependencies (void **depend) { tsk->parent_depends_on = true; ++num_awaited; - /* If depenency TSK itself has no dependencies and is + /* If dependency TSK itself has no dependencies and is ready to run, move it up front so that we run it as soon as possible. */ if (tsk->num_dependees == 0 && tsk->kind == GOMP_TASK_WAITING) |
