just use RT
This commit is contained in:
parent
f43a63235b
commit
89044502fe
1 changed files with 1 additions and 1 deletions
|
@ -520,7 +520,7 @@ def main(args):
|
|||
process.nice(psutil.REALTIME_PRIORITY_CLASS)
|
||||
print("High Priority for Windows Set: " + str(oldprio) + " to " + str(process.nice()))
|
||||
elif os_used == "linux": # linux
|
||||
process.nice(psutil.IOPRIO_CLASS_RT, value=0)
|
||||
process.nice(psutil.IOPRIO_CLASS_RT)
|
||||
print("High Priority for Linux Set: " + str(oldprio) + " to " + str(process.nice()))
|
||||
else: # MAC OS X or other
|
||||
process.nice(-18)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue