vault backup: 2025-04-05 00:07:51

This commit is contained in:
Marco Realacci 2025-04-05 00:07:51 +02:00
parent 47b74f3eec
commit 1c82ee3d9d
11 changed files with 30 additions and 30 deletions

View file

@ -31,7 +31,7 @@ unlock(i) :=
*Proof:* by contradiction.
Let's consider the execution of $p_i$ leading to its CS:
![](Concurrent%20Systems/notes/images/Pasted%20image%2020250310172134.png)
![](images/Pasted%20image%2020250310172134.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:*
![](Concurrent%20Systems/notes/images/Pasted%20image%2020250310103703.png)
![](images/Pasted%20image%2020250310103703.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: