vault backup: 2023-10-18 12:29:55

This commit is contained in:
Alice 2023-10-18 12:29:55 +01:00
parent 537b549a21
commit a51ee5af5a
3 changed files with 6 additions and 2 deletions

View file

@ -55,9 +55,13 @@ There is a restriction on the thread access to the printing - each thread is for
****
### Ex 3
### 3.1 + 3.2
### 3.1
![[Pasted image 20231018121319.png]]
The output is always the same, since the instruction ''''\#pragma omp barrier'''' creates a barrier after one single thread execution (series of fork joins between the 2 threads).
### 3.2
![[Pasted image 20231018122801.png]]
O resultado é semelhante ao \#pragma omp ordered