PDA

View Full Version : Qt thread priority



SailinShoes
29th September 2008, 10:04
I have two applications that share the same processor. The first application is the controller software and the other one is the gui software. Each application run in its own thread in a Linux environment. The processor is an ARM9.

For now, I have no scheduling of the threads and as far as I understand the gui software get as much cpu time as the controller software. This is not optimal and the threads will eventually be scheduled with a low priority for the gui application.

Is it possible to tell the Qt gui application to lower its priority without a scheduling of the application threads? I know I can set a priority for a Qt thread and it will by default get its parents priority, but can I set a priority for the whole qt application & for the main thread?

shahd01
16th June 2010, 02:39
Did you ever get answer for this?

Thanks
~D