Program goes 100% after 25 days - any way to set system tick to allowquicker debugging?

  • Thread starter Thread starter David Zawislak
  • Start date Start date
D

David Zawislak

I have a program which goes 100% CPU utilization after 25 days of
operation, which would be when the system tick goes negative as LONG,
even though GetTickCount returns a DWORD. I don't use GetTickCount or
any performance counters.

I use WinSock2 and the serial ports for communications, which use
WaitForSingleObject.
I also use SleepEx to pause a arbitrator thread.

So, to be able find the cause, is there any way to set what the system
tick value is since start up?
 
Back
Top