#pragma omp ordered

Description

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

Syntax

#pragma omp ordered
    statement_block

Notes

The omp ordered directive must be used as follows:

Related References

Pragmas to Control Parallel Processing
#pragma omp for
#pragma omp parallel for IBM Copyright 2003