vault backup: 2025-03-17 23:42:45
This commit is contained in:
parent
e9ab5d526e
commit
fa4369caf2
1 changed files with 2 additions and 2 deletions
|
@ -137,8 +137,8 @@ X.read_T(i) :=
|
||||||
t_depend_T[X] <- lc(XX).depend[X]
|
t_depend_T[X] <- lc(XX).depend[X]
|
||||||
|
|
||||||
if ∃ Y ∈ read_set(T) s.t. t_dependT[Y] < lc(XX).depend[Y] then
|
if ∃ Y ∈ read_set(T) s.t. t_dependT[Y] < lc(XX).depend[Y] then
|
||||||
# abortisco se Y (che avevo letto in passato) nel frattempo
|
# significa che il valore di X che ho letto è stato influenzato
|
||||||
# è stato modificato!
|
# da una modifica di Y avvenuta dopo che T (questa trans.) ha letto Y
|
||||||
ABORT
|
ABORT
|
||||||
|
|
||||||
∀ Y ∉ read_set(T) do
|
∀ Y ∉ read_set(T) do
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue