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.
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?
-
@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?
-
@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.