title: Is there a Windows equivalent of nanosleep?
body: <p>Unix has a variety of sleep APIs (sleep, usleep, nanosleep).  The only Win32 function I know of for sleep is Sleep(), which is in units of milliseconds.</p>
  
  <p>I seen that most sleeps, even on Unix, get rounded up significantly (ie: typically to about 10ms).  I've seen that on Solaris, if you run as root, you can get sub 10ms sleeps, and I know this is also possible on HPUX provided the fine grain timers kernel parameter is enabled.  Are finer granularity timers available on Windows and if so, what are the APIs?</p>