March 2019
Intermediate to advanced
428 pages
10h 27m
English
We will continue to use the code from the previous example project since we have already established a working program with multithreading:
#include <QObject>#include <QDebug>#include <QMutex>
public: explicit MyWorker(QMutex *mutex); int* myInputNumber; QMutex* myMutex;signals: void showResults(int res); void doneProcess();
MyWorker::MyWorker(QMutex *mutex) { myMutex = mutex;}
Read now
Unlock full access