int omp_in_final(void);
Summary The omp_in_final routine returns true if the routine is executed in a final task region; otherwise, it returns false.
Binding The binding task set for an omp_in_final region is the generating task.
Effect omp_in_final returns true if the enclosing task region is final. Otherwise, it returns false.