[Haskell-cafe] Re: help with threadDelay

Ian Lynagh igloo at earth.li
Mon Dec 4 12:12:40 EST 2006

On Wed, Nov 29, 2006 at 10:57:52AM +0000, Neil Davies wrote:
> In order to get low jitter you have to deliberately wake up early and
> spin - hey what are all these extra cores for! - knowing the
> quantisation of the RTS is useful in calibration loop for how much to
> wake up early.

Ah, I see. Timing how long a threadDelay 1 takes and subtracting that
from future threadDelays is probably the best answer.


More information about the Haskell-Cafe mailing list