Results 1 to 2 of 2

Thread: Qt Threads vs Native Threads performance

  1. #1
    Join Date
    Nov 2010
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Qt Threads vs Native Threads performance

    Hi there

    I have to develop a multithread application, and i want to use Qt since that application has to be used in Linux and FreeBSD. I have to implement a file server.
    Qt gives me a multiplataform solution.
    But what about performance ? Could be much less than using native threads ?
    Thanks

  2. #2
    Join Date
    May 2010
    Location
    Romania
    Posts
    1,021
    Thanks
    62
    Thanked 260 Times in 246 Posts
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Qt Threads vs Native Threads performance

    Note: Qt's threading classes are implemented with native threading APIs; e.g., Win32 and pthreads.
    Quoted from here

    So with one level of abstraction over the native threads you should not "see" a difference in performance. (You can always test and see exactly how much performance you gain if you use native threads)

Similar Threads

  1. whatś the better in Threads
    By Tio in forum Newbie
    Replies: 15
    Last Post: 27th May 2010, 13:14
  2. Threads in Qt
    By freekill in forum Qt Programming
    Replies: 4
    Last Post: 11th November 2009, 18:49
  3. Qt threads
    By ^Nisok^ in forum Newbie
    Replies: 12
    Last Post: 22nd April 2009, 14:35
  4. Threads...
    By Abc in forum Qt Programming
    Replies: 1
    Last Post: 19th June 2008, 17:35
  5. Once more: Threads in Qt4
    By high_flyer in forum Qt Programming
    Replies: 5
    Last Post: 9th August 2006, 18:35

Tags for this Thread

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.