View Full Version : Mutliple Threads
mouni
22nd November 2016, 06:34
how to run two threads independently at same time .. without using signals and slots give some examples.....
rawfool
22nd November 2016, 09:30
Examples: http://doc.qt.io/qt-5/examples-threadandconcurrent.html
anda_skoa
22nd November 2016, 12:48
You call "start()" on two QThread objects.
Cheers,
_
mouni
23rd November 2016, 04:52
two threads are seperate cpp files i want to call another cpp file run in in main class cpp file how can i do ....
anda_skoa
23rd November 2016, 09:37
two threads are seperate cpp files
Doesn't really matter. Two thread require two thread objects and start() being called on both of them.
Whether they are in the same file, two files, or spread across even more files, is really unimportant as long as the program compiles and links properly.
i want to call another cpp file run in in main class cpp file how can i do ....
What is a "cpp file run"?
Cheers,
_
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.