Intel® Fortran Compiler 18.0 Developer Guide and Reference

TASKWAIT

OpenMP* Fortran Compiler Directive: Specifies a wait on the completion of child tasks generated since the beginning of the current task.

!$OMP TASKWAIT

A TASKWAIT construct binds to the current task region. The binding thread set of the taskwait region is the current team.

The TASKWAIT region includes an implicit task scheduling point in the current task region. The current task region is suspended at the task scheduling point until execution of all its child tasks generated before the TASKWAIT region are completed.

See Also