vault backup: 2025-03-17 23:07:45
This commit is contained in:
parent
6fa525e26b
commit
82e00ceb9b
1 changed files with 4 additions and 3 deletions
|
@ -137,11 +137,12 @@ X.read_T(i) :=
|
|||
t_depend_T[X] <- lc(XX).depend[X]
|
||||
|
||||
if ∃ Y ∈ read_set(T) s.t. t_dependT[Y] < lc(XX).depend[Y] then
|
||||
# l'X che ho letto dipende da un Y che
|
||||
ABORT
|
||||
|
||||
if lc(XX).date >= birthdate(T) then
|
||||
ABORT
|
||||
read_set(T) <- read_set(T) U {X}
|
||||
∀ Y ∉ read_set(T) do
|
||||
t_depend_T[Y] <- max{t_depend_T[Y], lc(XX).depend[Y]}
|
||||
|
||||
return lc(XX).val
|
||||
|
||||
X.write_T(v) :=
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue