1
0

Other: Worker/Overseer/Threads improvements.

Added cancelled signal to worker and improved Overseer::wait.
Renamed Overseer::release() to Overseer::releaseWorker().
This commit is contained in:
Xavier Michelon
2022-08-20 10:22:35 +02:00
committed by Jakub
parent 090aaf8ee3
commit a520d636e8
3 changed files with 31 additions and 12 deletions

View File

@ -46,7 +46,7 @@ public: // member functions.
public slots:
void startWorker(bool autorelease) const; ///< Run the worker.
void release(); ///< Delete the worker and its thread.
void releaseWorker(); ///< Delete the worker and its thread.
public: // data members.
QThread *thread_{nullptr}; ///< The thread.