title: Accessing atomic<int> of C++0x as non-atomic
body: <p>I have an atomic variable in my program of type <code>atomic&lt;int&gt;</code>. At some places I don't need to access the value in it atomically, as I just check if its 0 or not. In other words, at those instances I want to avoid the overhead of bus locking etc. that happens when there is atomic access. </p>
  
  <p>How can I access the atomic variable non-atomically. Is typecasting it with (int) enough, like as follows? If not, which I think, how can I do this?</p>
  
  <pre><code>atomic&lt;int&gt; atm;
  int x;
  ........
  x = (int)atm; // Would this be a non-atomic access, no bus locking et all?
  </code></pre>