reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

projects/openmp/runtime/src/kmp_tasking.cpp
  824   if (taskdata->td_flags.tiedness == TASK_UNTIED) {
  827     kmp_int32 counter = KMP_ATOMIC_DEC(&taskdata->td_untied_count) - 1;
  837         resumed_task = taskdata->td_parent; // In a serialized task, the resumed
  854   kmp_depnode_t *node = taskdata->td_depnode;
  866   if (taskdata->td_flags.detachable == TASK_DETACHABLE) {
  867     if (taskdata->td_allow_completion_event.type ==
  870       __kmp_acquire_tas_lock(&taskdata->td_allow_completion_event.lock, gtid);
  871       if (taskdata->td_allow_completion_event.type ==
  873         taskdata->td_flags.proxy = TASK_PROXY; // proxify!
  876       __kmp_release_tas_lock(&taskdata->td_allow_completion_event.lock, gtid);
  883     taskdata->td_flags.complete = 1; // mark the task as completed
  887     if (!(taskdata->td_flags.team_serial || taskdata->td_flags.tasking_ser)) {
  887     if (!(taskdata->td_flags.team_serial || taskdata->td_flags.tasking_ser)) {
  890           KMP_ATOMIC_DEC(&taskdata->td_parent->td_incomplete_child_tasks) - 1;
  892       if (taskdata->td_taskgroup)
  893         KMP_ATOMIC_DEC(&taskdata->td_taskgroup->count);
  894       __kmp_release_deps(gtid, taskdata);
  898       __kmp_release_deps(gtid, taskdata);
  906   taskdata->td_flags.executing = 0; // suspend the finishing task
  918   if (taskdata->td_flags.destructors_thunk) {
  929   if (taskdata->td_flags.task_serial) {
  931       resumed_task = taskdata->td_parent; // In a serialized task, the resumed
  945     __kmp_free_task_and_ancestors(gtid, taskdata, thread);