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

This commit is contained in:
Marco Realacci 2025-03-03 10:46:24 +01:00
parent 37e6fb6da9
commit 65118f7cfd

View file

@ -218,3 +218,5 @@ Induction (true for , to be proved for +1):
- let $p_x$ be the last one that writes `A_Y[+1]`, so `A_Y[+1]=x` - let $p_x$ be the last one that writes `A_Y[+1]`, so `A_Y[+1]=x`
- for $p_x$ to pass at level +1, it must be that $∀k≠x. F[k] < +1$, then $p_x$ is the only proc at level +1 and the thesis holds, since 1<=n--1 - for $p_x$ to pass at level +1, it must be that $∀k≠x. F[k] < +1$, then $p_x$ is the only proc at level +1 and the thesis holds, since 1<=n--1
- otherwise, $p_x$ is blocked in the wait and so we have at most n--1 processes at level +1 (i.e., those at level , that by induction are at most n-, except for px that is blocked in its (+1)-th wait). - otherwise, $p_x$ is blocked in the wait and so we have at most n--1 processes at level +1 (i.e., those at level , that by induction are at most n-, except for px that is blocked in its (+1)-th wait).
##### Starvation freedom proof