vault backup: 2025-03-10 23:03:12
This commit is contained in:
parent
3e04af5cc3
commit
67f0545b57
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,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 set of all processes) will have `DATE[i] < n`, as their value for DATE is decreased
|
- all other $p_i, i \in P$ (with P being the set of all processes) will have `DATE[i] < n`, as their value for DATE is decreased
|
||||||
- suppose every process invoke lock, then $p_n$ has to wait all other processes to complete their CSs
|
- suppose every process invoke lock, then $p_n$ has to wait all other processes to complete their CSs
|
||||||
-
|
- scenario 1: every process keeps
|
||||||
|
|
||||||
**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:*
|
||||||
|
|
Loading…
Reference in a new issue