[clug-talk] Moving CPU Intensive Thread to lower Priority?
Mark Carlson
carlsonmark at gmail.com
Wed Mar 18 09:34:51 PDT 2009
On 3/18/09, Mark Carlson <carlsonmark at gmail.com> wrote:
> If possible, I would suggest trying to use the Popen2 module. This
> way, you should be able to re-nice it (os.nice) after the fork. This
> may be easy or painful depending on how much the thread needs to talk
> to it's parent.
>
> -Mark C.
I hope I didn't get you too off track, there. I should have said use
os.fork(). Popen2 would be if you were launching a non-python
process.
-Mark C.
More information about the clug-talk
mailing list