I have a small program that monitors a camera, edits the image and sends it by FTP every ten minutes.
Almost all of the time it sits in a loop, waiting for the next cycle to start. This loop contains a SLEEP 1000, but the executable still is still using considerable CPU time.
This starts at 2% and over about two days rises until it reaches 100% and the system stops responding.
No other tasks are using anything worth mentioning. The memory usage doesn't change.
PBCC4 XP
Any suggestions please.
Almost all of the time it sits in a loop, waiting for the next cycle to start. This loop contains a SLEEP 1000, but the executable still is still using considerable CPU time.
This starts at 2% and over about two days rises until it reaches 100% and the system stops responding.
No other tasks are using anything worth mentioning. The memory usage doesn't change.
PBCC4 XP
Any suggestions please.
Comment