Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How can i use all cores in the thread's calling my runnable ... very faster?

How can i use all cores in the thread's calling my runnable ... very faster?

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 436 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.
  • Everton FonsecaE Offline
    Everton FonsecaE Offline
    Everton Fonseca
    wrote on last edited by
    #1

    How can i use all cores in the thread's calling my runnable ... very faster

    aha_1980A jsulmJ 2 Replies Last reply
    0
    • Everton FonsecaE Everton Fonseca

      How can i use all cores in the thread's calling my runnable ... very faster

      aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Everton-Fonseca can you explain your task a bit more in detail?

      Every thread can take up max. one core.

      Qt has to stay free or it will die.

      1 Reply Last reply
      1
      • Everton FonsecaE Everton Fonseca

        How can i use all cores in the thread's calling my runnable ... very faster

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

        @Everton-Fonseca Create as many threads as you have cores (keep in mind: only if each thread consumes 100% of the core it is running on you will get near 100% CPU consumption).

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

        1 Reply Last reply
        1

        • Login

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