Discussion:
setting VC++ compile thread priority?
(too old to reply)
Craig Klementowski
2004-01-21 17:37:58 UTC
Permalink
Is there any way to set the thread priority of a VC++ compile globally? I'd
like to set the compiler to be "Below Normal" priority for all builds. I
know I can do it via the Task manager but that
doesn't solve the problem.

Thanks

Craig Klementowski
Nick Savoiu
2004-01-21 20:04:44 UTC
Permalink
You could start the IDE/build script from a shortcut that uses:

start /<your priority here> <your_command here>

Nick
Post by Craig Klementowski
Is there any way to set the thread priority of a VC++ compile globally? I'd
like to set the compiler to be "Below Normal" priority for all builds. I
know I can do it via the Task manager but that
doesn't solve the problem.
Thanks
Craig Klementowski
Kyle Alons
2004-01-22 18:09:19 UTC
Permalink
http://codeguru.earthweb.com/tips/vcspawn.shtml

--
---------------------------------------------------
Automate your software builds with Visual Build Pro
http://www.kinook.com
Post by Craig Klementowski
Is there any way to set the thread priority of a VC++ compile globally? I'd
like to set the compiler to be "Below Normal" priority for all builds. I
know I can do it via the Task manager but that
doesn't solve the problem.
Thanks
Craig Klementowski
goofium
2010-02-26 15:38:07 UTC
Permalink
Post by Craig Klementowski
Is there any way to set the thread priority of a VC++ compile globally? I'd
like to set the compiler to be "Below Normal" priority for all
builds. I
know I can do it via the Task manager but that
doesn't solve the problem.
Thanks
Craig Klementowski
Process Lasso will allow you to do this by setting a default priority class o
'Below Normal' or 'Idle' for cl.exe. After this, EVERY TIME CL.EXE is launche
its priority class will be 'Below Normal'. In fact, it can even do s
automatically via is ProBalance function. When the compiler executable exceeds
quota, it will be automatically and temporarily lowered in priority to preven
system responsiveness problems.

Since Process Lasso is written in native C++ with a stand-alone core engin
that does the real work, its very light on its feet too.. It works wonders, i
really does.

Again, Process Lasso is NOT a simple task manager, it is utility to hel
automate and persist process priority and affinity adjustments, amongst anothe
things.

Continue reading on narkive:
Loading...