|
I have written a program which already does process priority class (I'm leaving out the name to avoid infringing any forum rules about advertisement :-). It changes process priority like task manager does, but in a more automatic fashion. I had once considered allowing the user to change thread priority, but decided that it could actually lead to instability, not to mention not really being usefull. I am working on a second version, which is why I have asked this question. I want to add some functionality to the program, to include suspending a process. There have been times which I myself have wanted to momentarily suspend a program. One such instance was waiting for a a self extracting executable (which was large, and using a lot of disk access time) and I wanted to quickly search the hardisk for another file. The search was taking forever. It would have been more efficient to suspend the extracting executable (cancelling would have forced me to start the extraction over) and let the search complete, hopefully reducing the cost of head seeking. The suspend tool wont be intended for common use, as I don't expect it to improve most computing, but in rare scenarios like this, I think it could be helpfull. Thanks again.
|