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

This commit is contained in:
Alice 2023-10-18 12:19:55 +01:00
parent bb2a7f80cf
commit 537b549a21
10 changed files with 19 additions and 14 deletions

View file

@ -94,8 +94,7 @@
}
],
"direction": "horizontal",
"width": 328.5,
"collapsed": true
"width": 328.5
},
"right": {
"id": "d8cc89662b1baf06",
@ -186,15 +185,17 @@
},
"active": "cca189cd61cd7fe5",
"lastOpenFiles": [
"Pasted image 20231018120412.png",
"Pasted image 20231018120219.png",
"Pasted image 20231018120028.png",
"Pasted image 20231018115329.png",
"Pasted image 20231018115103.png",
"Pasted image 20231018114101.png",
"Pasted image 20231018113933.png",
"4a1s/CP/PL - Aula 5.md",
"My Digital Garden.md",
"4a1s/CP/PL - Aula 6.md",
"Images/Pasted image 20231018121319.png",
"Images/Pasted image 20231018120412.png",
"Images/Pasted image 20231018120219.png",
"Images/Pasted image 20231018120028.png",
"Images/Pasted image 20231018115329.png",
"Images/Pasted image 20231018115103.png",
"Images/Pasted image 20231018114101.png",
"Images/Pasted image 20231018113933.png",
"4a1s/CP/PL - Aula 5.md",
"4a1s/CP/PL - Aula 4.md",
"4a1s/MFES/PL - Aula 4.md",
"4a1s/RAS/Notas Projeto RAS.md",
@ -210,7 +211,6 @@
"Excalidraw/Drawing 2023-10-04 12.19.18.excalidraw.md",
"Images/Pasted image 20231004115725.png",
"Images/Pasted image 20231004115135.png",
"Images/Pasted image 20231004115209.png",
"Images",
"4a1s/CP/PL - Aula 3.md",
"4a1s/CP/PL - Aula 2.md",
@ -230,7 +230,6 @@
"4a1s/ASCN/T",
"4a1s/ASCN/T.32118",
"4a1s/ASCN/Images.md.32118",
"script.sh",
"quartz/static/og-image.png"
"script.sh"
]
}

View file

@ -50,8 +50,14 @@ Yes, since it is statically distributed.
#### c) \#pragma omp critical
![[Pasted image 20231018120412.png]]
There is a restriction on the thread access to the printing - each thread is forced to complete the entirety of the task and it cannot end the printing until it is completed with its task.
There is a restriction on the thread access to the printing - each thread is forced to complete the entirety of the task and it cannot end the printing until it is completed with its task. It creates a certain indivisible block of code the thread must run.
****
### Ex 3
### 3.1 + 3.2
![[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).

View file

Before

Width:  |  Height:  |  Size: 65 KiB

After

Width:  |  Height:  |  Size: 65 KiB

View file

Before

Width:  |  Height:  |  Size: 65 KiB

After

Width:  |  Height:  |  Size: 65 KiB

View file

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 37 KiB

View file

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 37 KiB

View file

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

View file

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 37 KiB

View file

Before

Width:  |  Height:  |  Size: 66 KiB

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB