title: gtest how to stop all running threads
body: <p>If I have a test case as follows</p>
  
  <pre><code>TEST(one, test_one) {
      vector&lt;thread&gt; threads
      // ... initialize threads
  }
  </code></pre>
  
  <p>and somewhere in those threads an assertion fails, how do I stop all threads and terminate?  because it seems like the function keeps executing as of now..</p>