Results 1 to 4 of 4

Thread: priority of QThread

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2006
    Location
    Australia
    Posts
    53
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    11
    Thanked 4 Times in 4 Posts

    Default Re: priority of QThread

    I had a look, and you can do it in 3.3 as well...you just gotta give the priority when you call start instead, e.g. this.start(QThread::TimeCriticalPriority)....the default is to inherit the same priority as the parent thread....

    i think all this means is that you can't change it once you've set it....could be a little prohibitive, depending upon exactly what you want to do with it....
    Last edited by georgie; 13th May 2006 at 13:04.

Similar Threads

  1. Qt thread priority
    By SailinShoes in forum Qt Programming
    Replies: 1
    Last Post: 16th June 2010, 01:39
  2. QThread and QTcpSocket
    By ^NyAw^ in forum Qt Programming
    Replies: 3
    Last Post: 12th May 2008, 13:06
  3. Spawn a QThread in another QThread
    By david.corinex in forum Qt Programming
    Replies: 2
    Last Post: 19th December 2007, 12:54
  4. QThread exec proplem to stop...
    By patrik08 in forum Qt Programming
    Replies: 29
    Last Post: 21st May 2007, 07:51
  5. Is it possible to create a QThread without inheriting ?
    By probine in forum Qt Programming
    Replies: 6
    Last Post: 23rd March 2006, 22:51

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.