title: Busy waiting and context switch
body: <p>If I have two processes, why busy waiting avoids the context switch ? And why context switch is less expensive than wasting CPU time in this scenario ? What changes if there are threads instead of processes ?</p>
  
  <p>Thanks!</p>