Documentation Home
>
Sun Studio 12 Update 1:OpenMP API 用户指南
>
第 6 章 自动确定变量的作用域
>
6.2 作用域规则
> 6.2.2 数组的作用域规则
Sun Studio 12 Update 1:OpenMP API 用户指南
Previous
: 6.2.1 标量变量的作用域规则
Next
: 6.3 关于自动作用域的通用注释
6.2.2 数组的作用域规则
A1
: 对于组中执行并行区域的线程而言,如果在该区域中使用数组不会导致数据争用情形,则将数组的作用域确定为
SHARED
。
Previous
: 6.2.1 标量变量的作用域规则
Next
: 6.3 关于自动作用域的通用注释
© 2010, Oracle Corporation and/or its affiliates