title: '_Thr = _Other._Thr;' break point
body: <p>With most errors I often have some idea in what direction I need to head to it, but here I have no idea. </p>
  
  <p>So let's start with the breakpoint itself:</p>
  
  <p><a href="https://i.stack.imgur.com/azdgW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/azdgW.png" alt="enter image description here"></a></p>
  
  <p>There are relatively few times any interactions are mad using the thread library, here are all of them:
  The inclusion:</p>
  
  <pre><code>#include &lt;thread&gt;
  </code></pre>
  
  <p>The usage:</p>
  
  <pre><code>void evolve(double* bestN, double* bestP, double* bestM, double* bestQ, double* bestWinConstant) {
  
      std::thread threadArray[threadAmount];
  
      for (int i = 0; i &lt; 100000; i++) {
          for (int t = 0; t &lt; threadAmount; t++) {
              if (gameArrayInUse[t] == 0) {
                  copyArray(gameArray[t], startArray);
                  gameArrayInUse[t] = 1;
                  threadArray[t] = std::thread(playGames, i, t);
                  std::cout &lt;&lt; "------------New Thread Spawned, No: " &lt;&lt; t &lt;&lt; std::endl;
                  break;
              }
              if (t == threadAmount - 1) {
                  t = -1;
              }
          }
      }
  
      for (int i = 0; i &lt; threadAmount; i++)
      {
          std::cout &lt;&lt; "JOIN THREADS--------------------------------------------------" &lt;&lt; std::endl;
          threadArray[i].join();
      }
  }
  </code></pre>
  
  <p>The error as seen in the console is (should be noted this changes every time):</p>
  
  <pre><code>Start of evolution on magnitude:1
  ------------New Thread Spawned, No: 0Completed:
  0.000000%
  ------------New Thread Spawned, No: 1
  Compl
  </code></pre>
  
  <p>Due to my lacking knowledge about this I apologise if you find the content I provide about my code lacking in certain areas, I would implore you to inform me via a comment so I can amend it.</p>