title: Thread scheduling overhead and context switching
body: <p>i just want to clear my concept on multithreading overheads.In a java book "Java Concurrency In Practice"by  Brian Göetz i read following paragraph in Chapter-11 section-11.1.</p>
  
  <hr>
  
  <p><em>"While the goal maybe to improve performance overall, using multiple threads always introduces some performance costs compared to the single threaded approach. These include the overhead associated with coordinating between
  threads(locking,signaling,synchronization),increased context switching,thread creation and teardown,and scheduling overhead."</em></p>
  
  <hr>
  
  <p>Why did he separate context switching overhead and scheduling overhead. Is thread scheduling overhead not same as context switch overhead. I am confused in both concepts.</p>