title: Does msleep() give cycles to other threads?
body: <p>In a multi threaded app, is </p>
  
  <pre><code>while (result-&gt;Status == Result::InProgress) Sleep(50);
  //process results
  </code></pre>
  
  <p>better than</p>
  
  <pre><code>while (result-&gt;Status == Result::InProgress);
  //process results
  </code></pre>
  
  <p>?
  By that, I'm asking will the first method be polite to other threads while waiting for results rather than spinning constantly? The operation I'm waiting for usually takes about 1-2 seconds and is on a different thread.</p>