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

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top