[Dev-C++] Controlling Process Priority
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Scott W. <se...@al...> - 2002-11-13 17:41:00
|
Hi, I'm building a Windows console application in C (my OS is Win2k and I have DevCpp 4.9.6.8). The application is computationally intensive so dominates CPU usage when run. By default, the program compiles to an executable with "Normal" priority and so leads to sluggish performance while running (typically several hours for each data set). I can, of course, manually set the priority to Low via the Win2K Task Manager but a) the setting resets to normal every time I launch another application and b) I'm lazy and would prefer to have the program run in low priority by default. So, I'm wondering if there's a way to compile the program to have "Low" priority from the get-go. I understand this could be purely an OS side-of-the-fence deal but thought I'd ask here in case it can be controlled from within DevCpp. Thanks. Scott |