Subj : Control CPU usage of a program? To : comp.programming From : Davy Date : Sun Aug 21 2005 09:32 am Hi all, I am writing programs of algorithms using C++ and C. When I run the programs, I found the programs take 100 percent of the CPU usage and I cannot run any other program. How to control the CPU usage percentage? For example, let the program take 30 percent of the CPU usage? Thanks! BTW, the circumstance is Windows 2k and XP. Best regards, Davy .