From: Robert Williams Date: 2007-11-07T06:39:15+09:00 Subject: Re: Changing date backward messes up threaded sleep My application is a server based scheduler... Schedules are scheduled for a calendar year. My admin user may test the schedule by changing the system time time and time again. ;) Anyway, my work around was to have a c program send a IPC message to the scheduler every second. At which point the scheduler would watch for unusual time deviations and handle things accordingly...i.e. clean up a sleeping thread. In other scenarios, as mentioned in the ruby rails thread (which I bumbed). Daylight savings, or a move, may require a system clock change by the user. It would be better to handle this case cleanly with out requireing the user shut down all ruby daemons which may make use of select in trheads....or require them to reboot. my 2 cents. Cheers! -- Posted via http://www.ruby-forum.com/.