Non-atomic compound operations

Code reviewMedium25 minCitadel style

Your task

Review this C++ statistics accumulator shared across threads.

Two of these three updates are broken under concurrency. Which two and why?