title: linux sleeping with clock_nanosleep
body: <p>I want to use clock_nanosleep for waiting of 1 microsec.. As far as I understand, I have to give an absolute time as input. Is the following code okay in this case? </p>
  
  <pre><code>deadline.tv_sec = 0;
  deadline.tv_nsec = 1000;
  
  clock_nanosleep(CLOCK_REALTIME, TIMER_ABSTIME, &amp;deadline, NULL);
  </code></pre>