vault backup: 2025-03-10 22:53:12

This commit is contained in:
Marco Realacci 2025-03-10 22:53:12 +01:00
parent 83724a8eb7
commit 53423ea050

View file

@ -92,6 +92,7 @@ lock(i) :=
``` ```
- $p_n$ invokes lock alone, completes its CS and its new DATE is n - $p_n$ invokes lock alone, completes its CS and its new DATE is n
- all other $p_i, i \in P$ (with P being the s)
**Lemma 1:** Suppose we have $n$ processes, then $\not \exists p_{j} : DATE[j]=DATE[i] \forall i \in [0, n]$ (non esistono due processi con lo stesso valore per DATE) **Lemma 1:** Suppose we have $n$ processes, then $\not \exists p_{j} : DATE[j]=DATE[i] \forall i \in [0, n]$ (non esistono due processi con lo stesso valore per DATE)
*Proof:* *Proof:*
@ -104,4 +105,3 @@ lock(i) :=
*Proof:* *Proof:*
For the upper bound, it's trivial: DATE is either decreased or set to $n$. For the upper bound, it's trivial: DATE is either decreased or set to $n$.
... ...