阅读背景:

C ++ int操作是否在mips体系结构上是原子的

来源:互联网 

I wonder if I could read or write shared int value without locking on mips cpu (especially Amazon or Danube). What I mean is if such a read or write are atomic (other thread can't interrupt them). To be clear - I don't want to prevent the race between threads, but I care if int value itself is not corrupted.I wonder if I could read or write shared int va




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: