vault backup: 2025-03-17 22:52:45
This commit is contained in:
parent
a697a004f6
commit
daf75af6b3
2 changed files with 11 additions and 4 deletions
8
.obsidian/workspace.json
vendored
8
.obsidian/workspace.json
vendored
|
@ -34,9 +34,9 @@
|
||||||
"type": "pdf",
|
"type": "pdf",
|
||||||
"state": {
|
"state": {
|
||||||
"file": "Concurrent Systems/slides/class 5.pdf",
|
"file": "Concurrent Systems/slides/class 5.pdf",
|
||||||
"page": 5,
|
"page": 7,
|
||||||
"left": -23,
|
"left": -23,
|
||||||
"top": 255,
|
"top": 364,
|
||||||
"zoom": 0.652019002375297
|
"zoom": 0.652019002375297
|
||||||
},
|
},
|
||||||
"icon": "lucide-file-text",
|
"icon": "lucide-file-text",
|
||||||
|
@ -217,10 +217,10 @@
|
||||||
},
|
},
|
||||||
"active": "6edd4157a160e462",
|
"active": "6edd4157a160e462",
|
||||||
"lastOpenFiles": [
|
"lastOpenFiles": [
|
||||||
|
"Concurrent Systems/slides/class 5.pdf",
|
||||||
|
"Concurrent Systems/notes/5 - Software Transactional Memory.md",
|
||||||
"Concurrent Systems/notes/4c - Dining Philosophers.md",
|
"Concurrent Systems/notes/4c - Dining Philosophers.md",
|
||||||
"Concurrent Systems/notes/4 - Semaphores.md",
|
"Concurrent Systems/notes/4 - Semaphores.md",
|
||||||
"Concurrent Systems/notes/5 - Software Transactional Memory.md",
|
|
||||||
"Concurrent Systems/slides/class 5.pdf",
|
|
||||||
"Concurrent Systems/notes/4b - Monitors.md",
|
"Concurrent Systems/notes/4b - Monitors.md",
|
||||||
"Concurrent Systems/notes/3a - Hardware primitives & Lamport Bakery algorithm.md",
|
"Concurrent Systems/notes/3a - Hardware primitives & Lamport Bakery algorithm.md",
|
||||||
"Concurrent Systems/notes/2b - Round Robin algorithm.md",
|
"Concurrent Systems/notes/2b - Round Robin algorithm.md",
|
||||||
|
|
|
@ -105,3 +105,10 @@ The **casual past** of a transaction T is the set of all T' and T'' such that
|
||||||
VWC allows more transactions to commit -> it is a more liberal property than opacity.
|
VWC allows more transactions to commit -> it is a more liberal property than opacity.
|
||||||
|
|
||||||
![[Pasted image 20250317105355.png]]
|
![[Pasted image 20250317105355.png]]
|
||||||
|
|
||||||
|
#### A Vector clock based STM system
|
||||||
|
We have m shared MRMW registers; register X is represented by a pair XX, with:
|
||||||
|
- XX.val the current value of X
|
||||||
|
- XX.depend[1...m] a vector clock s.t.
|
||||||
|
- XX.depend[X] is the sequence number associated with the current value of X
|
||||||
|
- XX.depend[Y] is the sequence number associated with the value of Y on which the current value of X depends from
|
Loading…
Add table
Add a link
Reference in a new issue