Author: J. Wesley Cleveland
Date: 18:21:56 05/13/04
Go up one level in this thread
On May 13, 2004 at 19:37:43, Dann Corbit wrote: >On May 13, 2004 at 18:41:53, Omid David Tabibi wrote: > >>On May 13, 2004 at 16:11:34, Jeff GAZET wrote: >> >>>hi, >>> >>>All versions of my engine have got a bug since a few hours : you can't set a >>>fixed depth :-( >>> >>>for those who are using something like this : >>> >>>int stop_time; >>>stop_time=get_ms()+1000; >>> >>>this is buggy now, as get_ms()>2146589376 >>>and long is 2147483647 >> >>I had a similar bug in Falcon, and I discovered it just one day before the Graz >>WCCC! I don't remember what exactly went wrong there, but since then I am using >>Windows' GetTickCount() function. > >Has similar problems (will wrap-around once 4 billion milliseconds have elapsed >from system start). >86400sec/day*1000ms/sec = 86,400,000 ms per day gives about 49.7 days. Windows 95 had a worse problem. If the tick count rolled over, the system would crash. It took them years to discover this problem. I assume that was because Windows 95 would crash for some other reason long before 49.7 days of uptime.
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.