title: Is it Really Busy Waiting If I Thread.Sleep()?
body: <p>My question is a bit nit-picky on definitions:</p>
  
  <p>Can the code below be described as "busy waiting"? Despite the fact that it uses Thread.Sleep() to allow for context switching?</p>
  
  <pre><code>while (true) {
      if (work_is_ready){
          doWork();
      }
      Thread.Sleep(A_FEW_MILLISECONDS);
  }
  </code></pre>
  
  <p>PS - The current definition for busy waiting in Wikipedia suggests that it is a "less wasteful" form of busy waiting.</p>