vault backup: 2025-04-04 23:39:27

This commit is contained in:
Marco Realacci 2025-04-04 23:39:27 +02:00
parent 6a9cf80167
commit 24539ddb11
13 changed files with 28 additions and 28 deletions

View file

@ -31,7 +31,7 @@ unlock(i) :=
*Proof:* by contradiction.
Let's consider the execution of $p_i$ leading to its CS:
![[images/Pasted image 20250310172134.png]]
![[/Concurrent Systems/notes/images/Pasted image 20250310172134.png]]
**Corollary** (of the MUTEX proof)**:** DATE is never written concurrently.
@ -57,7 +57,7 @@ Let's consider the execution of $p_i$ leading to its CS:
**Theorem:** the algorithm satisfies bounded bypass with bound $2n-2$.
*Proof:*
![[images/Pasted image 20250310103703.png]]
![[/Concurrent Systems/notes/images/Pasted image 20250310103703.png]]
so by this, the very worst possible case is that my lock experiences that.
It looks like I can experience at most $2n-1$ other critical sections, but it is even better, let's see: