This illustrates well the cases where things can't be written without a lock.
atomically. Because changes between line 1280 and line 1303 are rolled back.
However, this particular example doesn't stop us from reading because it will either
CurBytePos before line 1303, and that is the same as reading under a lock before that
block, or after the line 1303 and that is equivalent to reading under a lock after that block.
ok, sure. This is a bit above my pay grade :-). I guess the point is to work backward from those kinds of points, measure contention, and show the benefit.