vault backup: 2025-03-25 18:07:22

This commit is contained in:
Marco Realacci 2025-03-25 18:07:22 +01:00
parent 2ab498eb0e
commit bd2fd04d6c
2 changed files with 16 additions and 6 deletions

View file

@ -14,12 +14,12 @@
"state": {
"type": "markdown",
"state": {
"file": "Concurrent Systems/notes/1b - Peterson algorithm.md",
"file": "Concurrent Systems/notes/8 - Enhancing Liveness Properties.md",
"mode": "source",
"source": false
},
"icon": "lucide-file",
"title": "1b - Peterson algorithm"
"title": "8 - Enhancing Liveness Properties"
}
}
]
@ -98,7 +98,8 @@
}
],
"direction": "horizontal",
"width": 307.5
"width": 307.5,
"collapsed": true
},
"right": {
"id": "bc4b945ded1926e3",
@ -212,12 +213,12 @@
},
"active": "383fb8ddbc7a9dc8",
"lastOpenFiles": [
"Concurrent Systems/slides/class 8.pdf",
"Concurrent Systems/notes/8 - Enhancing Liveness Properties.md",
"Concurrent Systems/notes/7- MUTEX-free concurrency.md",
"Concurrent Systems/notes/1b - Peterson algorithm.md",
"Concurrent Systems/notes/2b - Round Robin algorithm.md",
"Concurrent Systems/notes/2 - Fast mutex by Lamport.md",
"Concurrent Systems/notes/8 - Enhancing Liveness Properties.md",
"Concurrent Systems/slides/class 8.pdf",
"Concurrent Systems/slides/class 7.pdf",
"Concurrent Systems/notes/6a - Alternatives to Atomicity.md",
"Concurrent Systems/notes/3a - Hardware primitives & Lamport Bakery algorithm.md",

View file

@ -115,3 +115,12 @@ stop_help(i) :=
##### Theorem:
the contention manager just seen transforms an obstruction-free implementation into a wait-free enriched implementation.
*Proof:*
By contradiction, $\exists$ an invocation of a correct $p_i$ that never terminates.
Let $ti$ be its timestamp.
- choose the minimum of such ⟨ti,i⟩
By constraint of weak_ts(), the set of invocations smaller than ⟨ti,i⟩ (call it I) is finite
- for every invocation ∈ I from a process $p_j$ that crashed during its execution
- $p_i$ will eventually and forever suspect $p_j$ (i.e. j ∈ `suspected_i`)