vault backup: 2025-03-25 18:07:22
This commit is contained in:
parent
2ab498eb0e
commit
bd2fd04d6c
2 changed files with 16 additions and 6 deletions
11
.obsidian/workspace.json
vendored
11
.obsidian/workspace.json
vendored
|
@ -14,12 +14,12 @@
|
||||||
"state": {
|
"state": {
|
||||||
"type": "markdown",
|
"type": "markdown",
|
||||||
"state": {
|
"state": {
|
||||||
"file": "Concurrent Systems/notes/1b - Peterson algorithm.md",
|
"file": "Concurrent Systems/notes/8 - Enhancing Liveness Properties.md",
|
||||||
"mode": "source",
|
"mode": "source",
|
||||||
"source": false
|
"source": false
|
||||||
},
|
},
|
||||||
"icon": "lucide-file",
|
"icon": "lucide-file",
|
||||||
"title": "1b - Peterson algorithm"
|
"title": "8 - Enhancing Liveness Properties"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -98,7 +98,8 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"direction": "horizontal",
|
"direction": "horizontal",
|
||||||
"width": 307.5
|
"width": 307.5,
|
||||||
|
"collapsed": true
|
||||||
},
|
},
|
||||||
"right": {
|
"right": {
|
||||||
"id": "bc4b945ded1926e3",
|
"id": "bc4b945ded1926e3",
|
||||||
|
@ -212,12 +213,12 @@
|
||||||
},
|
},
|
||||||
"active": "383fb8ddbc7a9dc8",
|
"active": "383fb8ddbc7a9dc8",
|
||||||
"lastOpenFiles": [
|
"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/7- MUTEX-free concurrency.md",
|
||||||
"Concurrent Systems/notes/1b - Peterson algorithm.md",
|
"Concurrent Systems/notes/1b - Peterson algorithm.md",
|
||||||
"Concurrent Systems/notes/2b - Round Robin algorithm.md",
|
"Concurrent Systems/notes/2b - Round Robin algorithm.md",
|
||||||
"Concurrent Systems/notes/2 - Fast mutex by Lamport.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/slides/class 7.pdf",
|
||||||
"Concurrent Systems/notes/6a - Alternatives to Atomicity.md",
|
"Concurrent Systems/notes/6a - Alternatives to Atomicity.md",
|
||||||
"Concurrent Systems/notes/3a - Hardware primitives & Lamport Bakery algorithm.md",
|
"Concurrent Systems/notes/3a - Hardware primitives & Lamport Bakery algorithm.md",
|
||||||
|
|
|
@ -114,4 +114,13 @@ stop_help(i) :=
|
||||||
```
|
```
|
||||||
|
|
||||||
##### Theorem:
|
##### Theorem:
|
||||||
the contention manager just seen transforms an obstruction-free implementation into a wait-free enriched implementation.
|
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`)
|
Loading…
Add table
Add a link
Reference in a new issue