Manage Scheduling Priority of PTBatcherGUI
Bug #792781 reported by
Yuv
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Hugin |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
YL > Wishlist for PTBatcherGUI
YL > * add a switch to start it "nice" (to leave priority to the user
YL > interaction with Hugin)
TM > What is "nice"? That's a very weak description. I don't know what you
TM > want.
I don't now if this exists in Windows. In Linux (and I guess also on the Mac), I can start a command with `nice -n X COMMAND ARGS` and it has higher or lower scheduling priority depending if X is negative or positive. Details in `man nice`.
I guess I could pre-pend the nice command in the call from PanoPanel.cpp but I am not sure how this would (or would not) affect the whole thing.
Changed in hugin: | |
importance: | Undecided → Wishlist |
status: | New → Triaged |
To post a comment you must log in.
> Details in `man nice`.
This does not help me.
Short test on windows: change priority of ptbatchergui to high, but started child processes (make/cpfind/nona) are all running with normal priority. So at least on windows changing the process priority of ptbatchergui would not help so much. (Nice does only change the cpu priority, but maybe also the i/o priority needs to be changed.)
wxExecute - which is used to start make - does not support a priority switch.