Skip to content

Commit ace1574

Browse files
authored
Use 'main' instead of 'master' in all documentation where possible.
1 parent 335b96e commit ace1574

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/parallel/openmp/reference/openmp-clauses.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ For data-sharing attributes:
3232
|[shared](#shared-openmp)|Specifies that one or more variables should be shared among all threads.|
3333
|[default](#default-openmp)|Specifies the behavior of unscoped variables in a parallel region.|
3434
|[reduction](#reduction)|Specifies that one or more variables that are private to each thread are the subject of a reduction operation at the end of the parallel region.|
35-
|[copyin](#copyin)|Allows threads to access the master thread's value, for a [threadprivate](openmp-directives.md#threadprivate) variable.|
35+
|[copyin](#copyin)|Allows threads to access the main thread's value, for a [threadprivate](openmp-directives.md#threadprivate) variable.|
3636
|[copyprivate](#copyprivate)|Specifies that one or more variables should be shared among all threads.|
3737

3838
## <a name="copyin"></a> copyin
3939

40-
Allows threads to access the master thread's value, for a [threadprivate](openmp-directives.md#threadprivate) variable.
40+
Allows threads to access the main thread's value, for a [threadprivate](openmp-directives.md#threadprivate) variable.
4141

4242
```cpp
4343
copyin(var)
@@ -46,7 +46,7 @@ copyin(var)
4646
### Parameters
4747
4848
*var*<br/>
49-
The `threadprivate` variable that will be initialized with the variable's value in the master thread, as it exists before the parallel construct.
49+
The `threadprivate` variable that will be initialized with the variable's value in the main thread, as it exists before the parallel construct.
5050
5151
### Remarks
5252
@@ -513,7 +513,7 @@ int main() {
513513
printf_s("These are the variables after exit from "
514514
"the parallel region.\n");
515515
printf_s("nThreadPrivate = %d (The last value in the "
516-
"master thread)\n", nThreadPrivate);
516+
"main thread)\n", nThreadPrivate);
517517
printf_s(" nPrivate = %d (The value prior to "
518518
"entering parallel region)\n", nPrivate);
519519
printf_s(" nFirstPrivate = %d (The value prior to "
@@ -591,7 +591,7 @@ nFirstPrivate = 3
591591
nShared = 3
592592
593593
These are the variables after exit from the parallel region.
594-
nThreadPrivate = 0 (The last value in the master thread)
594+
nThreadPrivate = 0 (The last value in the main thread)
595595
nPrivate = 4 (The value prior to entering parallel region)
596596
nFirstPrivate = 4 (The value prior to entering parallel region)
597597
nLastPrivate = 3 (The value from the last iteration of the loop)

0 commit comments

Comments
 (0)