#pragma omp ordered

Purpose

The omp ordered directive identifies a structured block of code that must be executed in sequential order.

Syntax

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

Usage

The omp ordered directive must be used as follows: