4.1.22. Lost update
T
1
read_item(X);
X=X-N;
write_item(X);
read_item(Y);
Y=Y+N;
write_item(Y);
T
2
read_item(X);
X=X+M;
write_item(X);
T
1
X update overwritten