I have a Syncing program that, while idle, crawls through the sub-directories of the sources and destinations saved to a 'sync profile'. It starts a new thread and walks the directories calculating the divergence between the sources and directories. I want this feature to have little impact on computer performance and be done quietly in the background. Currently to 'throttle back' CPU usage I have crudely implemented timer delays. Do the pros have a more efficient way to accomplish this? -Thanks

Recommended Answers

All 5 Replies

It's probably a question of setting the process' priority. On linux, you would use the renice command.

It's probably a question of setting the process' priority. On linux, you would use the renice command.

Any idea for windows?

Any idea for windows?

google setting process priority on windows may be ?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.