In 2.13.1 on pp118/119 I don't find the text clear enough to require exactly one of the non-if clauses plus optional if clause. The syntax makes it clear that at least one clause must be specified, but I don't see any wording that would make it clear that
#pragma omp cancel if (1)
is invalid. Can the wording be improved for the final version?
#pragma omp cancel
Forum rules
This forum is now closed.
This forum is now closed.
Re: #pragma omp cancel
I think you are correct. The only optional clause should be the if clause. We need to fix the wording in the final version to make it clear. Thanks for the note. -Henry