title: Is spin lock useful in a single processor uni core architecture?
body: <p>I am confused by the function of spin lock.</p>
  
  <p>The spin lock is used to stop the process from re-scheduling.
  However, in a machine with just one core, is it useful to use spin lock
  to prevent context switching?</p>