#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


1  # pragma omp taskyield