title: What is the impact of Thread.Sleep(1) in C#?
body: <p>In a windows form application what is the impact of calling <code>Thread.Sleep(1)</code> as illustrated in the following code:</p>
  
  <pre><code>public Constructor()
  {
      Thread thread = new Thread(Task);
      thread.IsBackground = true;
      thread.Start();
  }
  
  private void Task()
  {
      while (true)
      {
          // do something
          Thread.Sleep(1);
      }
  }
  </code></pre>
  
  <p>Will this thread hog all of the available CPU?  </p>
  
  <p>What profiling techniques can I use to measure this Thread's CPU usage ( other than task manager )?</p>