
23 Nov
2009
23 Nov
'09
11:29 a.m.
On Sat, 21 Nov 2009 14:24:35 +0100, Pau Garcia i Quiles
One intriguing issue is if instead of setting the time back one our, you set the time forward one hour (15:19:10), the timer works. I don't have time to research why this happens (I was expecting the test to fail, too, as the point in time the timer is set to expire is never reached exactly but just passed by).
Well it doesn't really work either. The timer expires imidiatly becourse the time has passed. But if the thread doesn't do anything else but wait for that it will not wakeup before the original time has passed. If it wakes though; the timer gets recalculated. -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/