Name: destroy | Properties: default |
|
Arguments
Name | Type | Properties |
destroy-var | variable of OpenMP variable type | |
|
Directives
,Additional information
When the destroy clause appears on the depobj construct, the destroy-var argument may be omitted. This syntax has been deprecated.Semantics
If the destroy clause appears on a depobj construct and destroy-var is not specified, the effect is as if destroy-var refers to the same OpenMP depend object as the depobj argument of the construct. The syntax of the destroy clause on the depobj construct that does not specify destroy-var has been deprecated. When the destroy clause appears on a depobj construct, the state of destroy-var is set to uninitialized.When the destroy clause appears on an interop construct, the interop-type is inferred based on the interop-type used to initialize destroy-var, and destroy-var is set to the value of omp_interop_none after resources associated with destroy-var are released. The object referred to by destroy-var is unusable after destruction and the effect of using values associated with it is unspecified until it is initialized again by another interop construct.
Restrictions
Cross References