Important: Please read the Qt Code of Conduct -

how to indicate a specific cpu to run a qthread?

  • i define four time-consume qthread,and when i run the program on my arm board,the process runs in only one cpu core. And the running cpu will can i indicate a specific cpu to run the qthread.

  • Lifetime Qt Champion


    AFAIK, it's not possible from QThread. If you need that feature you need to go on a lower level and use pthread directly (assuming your run Linux on your target)

Log in to reply