Results 1 to 2 of 2

Thread: Qt thread priority

  1. #1
    Join Date
    Mar 2008
    Posts
    57
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Qt thread priority

    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?

  2. #2

    Default Re: Qt thread priority

    Did you ever get answer for this?

    Thanks
    ~D

Similar Threads

  1. GUI and non-GUI thread problem
    By dimaz in forum Qt Programming
    Replies: 3
    Last Post: 18th September 2008, 21:25
  2. Replies: 5
    Last Post: 17th January 2008, 21:49
  3. KDE/QWT doubt on debian sarge
    By hildebrand in forum KDE Forum
    Replies: 13
    Last Post: 25th April 2007, 06:13
  4. Problem closing a QMainWindow in Qt4.2
    By ian in forum Qt Programming
    Replies: 11
    Last Post: 17th October 2006, 00:49
  5. [QT4] QThread and printing a QList<QPixmap>
    By KShots in forum Qt Programming
    Replies: 3
    Last Post: 24th April 2006, 21:44

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.