Commit Graph

13 Commits

Author SHA1 Message Date
Mathew Sutcliffe
1dc4864ffa refs #476 Facility to ask worker to abandon its task and finish early. 2015-11-26 18:24:10 +00:00
Mathew Sutcliffe
feeca47060 Assert earlier when thenWithResult type doesn't match lambda return type. 2015-11-19 21:05:18 +00:00
Mathew Sutcliffe
3cc9468d63 refs #457 CWorker support for non-void tasks and thenWithResult(). 2015-11-19 20:58:23 +00:00
Mathew Sutcliffe
7a37c86782 Rewrite CWorker::waitForFinished using std::future<void> instead of QWaitCondition. 2015-11-19 20:51:17 +00:00
Klaus Basan
8e56a14caf refs #438, allow to cancel parser
* added flag for parsing success
* unload driver cancels parsing
* assert for invoke
* using waitForFinished
2015-06-03 16:25:53 +02:00
Mathew Sutcliffe
732903b243 refs #439 Adjust noexcept specification of worker methods commonly used in destructors. 2015-06-02 18:54:08 +01:00
Mathew Sutcliffe
17c1742bec refs #439 CWorkerBase::waitForFinished(). 2015-06-02 18:54:08 +01:00
Roland Winklmeier
1b26311983 Fix license header spelling 2015-04-16 00:59:56 +02:00
Klaus Basan
aafee8eafd refs #402, post merge feedback by MS 2015-04-11 02:09:10 +02:00
Klaus Basan
f0db7ed660 refs #380, QConcurrent vs QThread sample and fix
* in same step fixed nullptr issue in worker (with no parent)
* Changed from QConccurennt::run to CWorker in core
2015-03-20 16:33:23 +01:00
Mathew Sutcliffe
2a1541786a refs #334 Added class CContinuousWorker, base class for long-lived threaded worker objects. Inherits from CWorkerBase. 2014-11-30 02:29:21 +01:00
Mathew Sutcliffe
7b352c907a refs #334 Refactored CWorker parts relating to finished() signal into new base class CWorkerBase. 2014-11-30 02:29:18 +01:00
Mathew Sutcliffe
418dd5e126 refs #325, CWorker class for executing arbitrary tasks in their own threads 2014-10-07 13:10:49 +02:00