title: Are std::stack::push and std::stack:pop thread safe?
body: <p><strong>Do I need to guard my <code>push()</code> and <code>pop()</code> calls with a mutex, or are they internally  thread safe?</strong></p>
  
  <p>The code I wish to write looks like this</p>
  
  <pre><code>parallel for (int i = 0; i &lt; 100; i++) {
      ...
      s.push(...);
      ...
  }
  </code></pre>
  
  <p>I am not sure where to look about the thread safety of the STL containers I am using. I checked <a href="http://www.sgi.com/tech/stl/stack.html" rel="nofollow">this reference</a>, but it does not mention anything about thread safety.</p>