#pragma omp taskyield

Purpose

The omp taskyield pragma instructs the compiler to suspend the current task in favor of running a different task. The taskyield region includes an explicit task scheduling point in the current task region.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-#--pragma--omp taskyield------------------------------------><



Voice your opinion on getting help information Ask IBM compiler experts a technical question in the IBM XL compilers forum Reach out to us