Could you please compare abilities of your solution with Efmer's TThrottle. What usage case you consider where your approach more suitable?
As stated in the original linked thread.
The heat generated by the computers puts a heavy load on the AC. I want to throttle or stop them if it gets above say 90 degrees outside to help keep the duty cycle of the AC compressor down. The hotter it is outside the lower the efficiency of the AC unit so reducing it's usage when it's hot outside is a good thing.
If functioning properly under thermostatic control, the air conditioning will keep the computer temperature constant. TThrottle will see no need to slow down the computer, but the electricity wastage (and hence cost) will be horrendous.
Edit - thread title amended to avoid confusion