| 40 | | == Helper primitives == |
| 41 | | |
| 42 | | None. |
| | 40 | == Support Library == |
| | 41 | |
| | 42 | === Types === |
| | 43 | |
| | 44 | * `$omp_gteam`: global team object, represents a team of threads executing in a parallel region. A handle type. |
| | 45 | * `$omp_team`: local object belonging to a single thread and referencing the global team object. A handle type. |
| | 46 | * `$omp_gshared`: global shared object, used to represent the state of a shared variable. A handle type. |
| | 47 | * `$omp_shared`: local view of the shared object, belonging to a single thread, with reference to the global object. A handle type |
| | 48 | * `$omp_ref`: a reference to a shared object (local) |
| | 49 | * `$omp_array_element_ref`: a reference to an element of a shared object of array type |
| | 50 | * `$omp_member_ref`: a reference to a member of a structure or union shared object |
| | 51 | |
| | 52 | |
| | 53 | === Functions === |
| | 54 | |
| | 55 | * `$omp_gteam $omp_gteam_create($scope scope, int threads)` |
| | 56 | * `void $omp_gteam_destroy($omp_gteam gteam)` |
| | 57 | * `$omp_team $omp_team_create($scope scope, $omp_gteam gteam, int tid)` |
| | 58 | * `void $omp_team_destroy($omp_team team)` |
| | 59 | |