Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Threads in qt qml application

Threads in qt qml application

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 2 Posters 492 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    manny_lp
    wrote on last edited by
    #1

    Hi,

    I want to know about threads created by qt application. I ran one of the example application given in qt creator called "gallery". Looks like there are 6 threads as per top command (top -H <process id>)output:

    1. gallery
    2. gallery
    3. QSGRenderThread
    4. QEvdevTouchScre
    5. QQmlThread
    6. FileInfoThread

    Is there any document giving details about each one of these? Why two threads with same name is created?

    jsulmJ 1 Reply Last reply
    0
    • M manny_lp

      Hi,

      I want to know about threads created by qt application. I ran one of the example application given in qt creator called "gallery". Looks like there are 6 threads as per top command (top -H <process id>)output:

      1. gallery
      2. gallery
      3. QSGRenderThread
      4. QEvdevTouchScre
      5. QQmlThread
      6. FileInfoThread

      Is there any document giving details about each one of these? Why two threads with same name is created?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @manny_lp Did you check the code of that example application to see where these threads are created? A normal Qt/QML application usually has only one thread, so I think this example application creates additional threads.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • M Offline
        M Offline
        manny_lp
        wrote on last edited by
        #3

        All qt applications create multiple threads.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved