vault backup: 2025-03-03 10:11:24

This commit is contained in:
Marco Realacci 2025-03-03 10:11:24 +01:00
parent 70c554d9fa
commit 11d3ba7399
4 changed files with 15 additions and 4 deletions

View file

@ -36,9 +36,9 @@
"type": "pdf", "type": "pdf",
"state": { "state": {
"file": "Concurrent Systems/slides/class 1.pdf", "file": "Concurrent Systems/slides/class 1.pdf",
"page": 7, "page": 11,
"left": -22, "left": -22,
"top": 1, "top": 23,
"zoom": 0.7036817102137768 "zoom": 0.7036817102137768
}, },
"icon": "lucide-file-text", "icon": "lucide-file-text",
@ -220,6 +220,8 @@
}, },
"active": "bfdcb298848e6147", "active": "bfdcb298848e6147",
"lastOpenFiles": [ "lastOpenFiles": [
"Pasted image 20250303100953.png",
"Pasted image 20250303100721.png",
"Pasted image 20250303093116.png", "Pasted image 20250303093116.png",
"Concurrent Systems/notes/images", "Concurrent Systems/notes/images",
"Concurrent Systems/notes/images/Pasted image 20250303090135.png", "Concurrent Systems/notes/images/Pasted image 20250303090135.png",
@ -264,8 +266,6 @@
"Biometric Systems/images/Pasted image 20241212094046.png", "Biometric Systems/images/Pasted image 20241212094046.png",
"Biometric Systems/images/Pasted image 20241212094016.png", "Biometric Systems/images/Pasted image 20241212094016.png",
"Biometric Systems/images/Pasted image 20241212093900.png", "Biometric Systems/images/Pasted image 20241212093900.png",
"Biometric Systems/images/Pasted image 20241212084349.png",
"Biometric Systems/images/Pasted image 20241212094000.png",
"Senza nome.canvas" "Senza nome.canvas"
] ]
} }

View file

@ -164,4 +164,15 @@ unlock(i) :=
##### MUTEX proof ##### MUTEX proof
Assume p0 and p1 are simultaneously in the CS. Assume p0 and p1 are simultaneously in the CS.
How has p0 entered its CS? How has p0 entered its CS?
a) `FLAG[1] = down`, this is possible only with the following interleaving:
![[Pasted image 20250303100721.png]]
b) `AFTER_YOU = 1`, this is possible only with the following interleaving:
![[Pasted image 20250303100953.png]]
##### Bounded Bypass proof (with bound = 1)
If the wait condition is true, then it wins (and waits 0).
Otherwise, i

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB