title: linux high resolution timer in user space
body: <p>I need a thread in my process to wakeup every 5ms(precise) and do some work.<br>
  I have used posix timers, they seems to be accurate 90% and accuracy further decreases when cpu is somewhat loaded.<br>
  I believe that is because posix timer have to fork new thread on every expiry.<br>
  Is there some other reliable way to implement high resolution timer in linux and will increasing priority of thread help?<br>
  I am on CentOS 5.6.</p>