vault backup: 2025-03-17 10:54:23
This commit is contained in:
parent
e41ec5025d
commit
36af841cef
3 changed files with 21 additions and 4 deletions
9
.obsidian/workspace.json
vendored
9
.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": 4,
|
"page": 6,
|
||||||
"left": -27,
|
"left": -27,
|
||||||
"top": 131,
|
"top": 172,
|
||||||
"zoom": 0.5754156769596199
|
"zoom": 0.5754156769596199
|
||||||
},
|
},
|
||||||
"icon": "lucide-file-text",
|
"icon": "lucide-file-text",
|
||||||
|
@ -218,9 +218,10 @@
|
||||||
},
|
},
|
||||||
"active": "6edd4157a160e462",
|
"active": "6edd4157a160e462",
|
||||||
"lastOpenFiles": [
|
"lastOpenFiles": [
|
||||||
"Concurrent Systems/notes/4c - Dining Philosophers.md",
|
"Concurrent Systems/notes/images/Pasted image 20250317105355.png",
|
||||||
"Concurrent Systems/notes/5 - Software Transactional Memory.md",
|
|
||||||
"Concurrent Systems/slides/class 5.pdf",
|
"Concurrent Systems/slides/class 5.pdf",
|
||||||
|
"Concurrent Systems/notes/5 - Software Transactional Memory.md",
|
||||||
|
"Concurrent Systems/notes/4c - Dining Philosophers.md",
|
||||||
"Concurrent Systems/slides/class 4.pdf",
|
"Concurrent Systems/slides/class 4.pdf",
|
||||||
"Concurrent Systems/notes/images/Pasted image 20250317100456.png",
|
"Concurrent Systems/notes/images/Pasted image 20250317100456.png",
|
||||||
"Concurrent Systems/notes/4b - Monitors.md",
|
"Concurrent Systems/notes/4b - Monitors.md",
|
||||||
|
|
|
@ -57,3 +57,19 @@ We now present an atomic STM system, called *Transactional Locking 2*:
|
||||||
```
|
```
|
||||||
poi la scrivo giuro
|
poi la scrivo giuro
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Virtual World Consistency
|
||||||
|
Opacity requires a total order on all committed transactions and on all read prefixes of all aborted transactions
|
||||||
|
this latter requirement can be weakened by imposing that the read prefix of an aborted transaction is consistent only w.r.t its casual past (i.e. its virtual world).
|
||||||
|
|
||||||
|
**Opacity:** total order both on all committed transactions and on read prefixes of aborted transactions
|
||||||
|
|
||||||
|
**VWC:** total order on all committed transactions + partial order on committed transactions and the read prefixes of aborted transactions.
|
||||||
|
|
||||||
|
The **casual past** of a transaction T is the set of all T' and T'' such that
|
||||||
|
- T reads a value written by T'
|
||||||
|
- T'' belongs to the casual past of T'
|
||||||
|
|
||||||
|
VWC allows more transactions to commit -> it is a more liberal property than opacity.
|
||||||
|
|
||||||
|
![[Pasted image 20250317105355.png]]
|
||||||
|
|
BIN
Concurrent Systems/notes/images/Pasted image 20250317105355.png
Normal file
BIN
Concurrent Systems/notes/images/Pasted image 20250317105355.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 120 KiB |
Loading…
Add table
Add a link
Reference in a new issue