OMPCriticalName

The name of a critical construct.

声明

语法

OMPCriticalName(identifier name)

参数

Argument

描述

name

the name in critical (name), in lower case.

返回值

无。

描述

It appears only on an OMPRegion whose region is Critical. Critical constructs with the same name exclude each other, wherever they are in the program, and do not exclude critical constructs with another name. A critical construct without this clause is unnamed, and all unnamed critical constructs exclude each other.

Fortran names are case-insensitive, so name is stored in lower case.

示例

!$omp critical (acc) gives:

(OMPCriticalName
  :name "acc"
)

也可以看看

OMPRegion, omp_region_type, omp_clause