Początkową wartość a = 7 Kompilator rozpoznaje dyrektywy OpenMP maksymalna liczba wątków 7 aktualna liczba wątków 1, moj ID 0
Thread |
0 |
a=7 |
Thread |
0 |
a=8 |
Thread |
0 |
a=9 |
Thread |
0 |
a=10 |
Thread |
0 |
a=ll |
Thread |
0 |
a=12 |
Thread |
0 |
a=13 |
Thread |
0 |
a=14 |
Thread |
0 |
a=15 |
Thread |
0 |
a=16 |
Thread |
1 |
a=7 |
Thread |
1 |
a=8 |
Thread |
1 |
a=9 |
Thread |
1 |
a=10 |
Thread |
1 |
a=ll |
Thread |
1 |
a=12 |
Thread |
1 |
a=13 |
Thread |
1 |
a=14 |
Thread |
1 |
a=15 |
Thread |
1 |
a=16 |
Thread |
2 |
a=7 |
Thread |
2 |
a=8 |
Thread |
2 |
a=9 |
Thread |
2 |
a=10 |
Thread |
2 |
a=ll |
Thread |
2 |
a=12 |
Thread |
2 |
a=13 |
Thread |
2 |
a=14 |
Thread |
2 |
a=15 |
Thread |
2 |
a=16 |
Po wykonaniu bloku wartość a = 7