title: How do servers send messages at a reliable cadence without spinning the CPU
body: <p>Lets say I want a server to send a tick every ~8.33ms (120Hz) to all clients.</p>
  <p>If the accuracy of sleep() function on Windows is no less than 10ms, how can messages be sent at a 120Hz tickrate without spinning the CPU in a hot loop that's constantly checking if 8.33ms has elapsed since the last tick?</p>
  <p>How can the CPU be put to sleep for such a short interval till the next tick?</p>