The initial value of the running total is saved, and then the CompareExchange method is used to exchange the newly computed total with the old total.
英
美
- 保存运行总和的初始值,然后使用CompareExchange方法用旧总和交换新算出的总和。