I would like my cl.exe (the c++ compiler process) processes to run at lower than normal priority so that my UI threads are not affected. I have turned on /MP builds for most of my projects and want to take advantage of all the CPUs, but don't want the box to be bogged down and unusable.
A co-worker wrote a utility that monitors threads and allows users to select process names to drop priorities for, but I was wondering if it might be possible to write a plugin for visual studio that was notified on all calls to CL.exe so that you can programmatically lower the priority.
So, is this possible? VS 2008 - C++ builds for now.