From: Hans Fugal Date: 2008-02-22T00:20:02+09:00 Subject: Timers and Alarms I want a program to wait for some moment in time, and resume operation at that moment. sleep is ruled out because it just counts cycles and is thrown off when my laptop suspends. In C I'd use a one-fire timer, using setitimer. But in some quick googling it looks like the ruby interpreter may use setitimer internally for thread scheduling. Is there a safe way in ruby to sleep until a real moment in time?