Intel® Fortran Compiler 16.0 User and Reference Guide

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