On Tue, 12 Feb 2019, Alexey Kardashevskiy wrote: > Now it is 3 independent accesses (actually 4 but the last one is > diagnostic) with no locking around them. Why do not we need a lock > anymore precisely? Thanks,
Updating a regular counter is racy and requires a lock. It was converted to be an atomic which can be incremented without a race.