Sums with atomic_int

后端 未结 0 1969
暗喜
暗喜 2020-11-22 16:24

Can we use the common addition operators with atomic variables?

I mean

counter++;

or

counter += 1;

ins

相关标签:
回答
  • 消灭零回复
提交回复
热议问题