Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. C++ Gurus
  4. I wan to learn multi thread programming on multiprocessor ?
Forum Update on Monday, May 27th 2025

I wan to learn multi thread programming on multiprocessor ?

Scheduled Pinned Locked Moved Unsolved C++ Gurus
3 Posts 3 Posters 372 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.
  • Q Offline
    Q Offline
    Qt embedded developer
    wrote on 28 Mar 2022, 07:12 last edited by
    #1

    I want to run 2 thread on separate core. i want to know how to write code for separate core.

    I have seen that on i.mx6 has 2 core. i wanted to write multi thread programming for multi processor(multicore).

    Is there any reference is there to learn and write code for it?

    J 1 Reply Last reply 28 Mar 2022, 07:13
    0
    • Q Qt embedded developer
      28 Mar 2022, 07:12

      I want to run 2 thread on separate core. i want to know how to write code for separate core.

      I have seen that on i.mx6 has 2 core. i wanted to write multi thread programming for multi processor(multicore).

      Is there any reference is there to learn and write code for it?

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 28 Mar 2022, 07:13 last edited by
      #2

      @Qt-embedded-developer said in I wan to learn multi thread programming on multiprocessor ?:

      Is there any reference is there to learn and write code for it?

      https://doc.qt.io/qt-5/threads-technologies.html

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

      1 Reply Last reply
      1
      • K Offline
        K Offline
        Kent-Dorfman
        wrote on 29 Mar 2022, 14:33 last edited by
        #3

        @Qt-embedded-developer said in I wan to learn multi thread programming on multiprocessor ?:

        I want to run 2 thread on separate core. i want to know how to write code for separate core.

        The Qt framework won't help you in this matter. cpu/core affinity is not managed by Qt, but by the OS scheduler. All you can control in Qt is the creation of multiple threads. where they execute is up to the OS, or controlled outside of Qt.

        1 Reply Last reply
        2

        1/3

        28 Mar 2022, 07:12

        • Login

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