summaryrefslogtreecommitdiff
path: root/src/lib/job.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-11-15 23:41:22 +0000
committerCarl Hetherington <cth@carlh.net>2018-11-22 23:26:18 +0000
commit63bce67bd548f4aff98e2a1963e1fd77a6412a15 (patch)
tree44cb9fddd35817db51f79685a67b50050cddd56c /src/lib/job.h
parent620b7761a33d2e3641cd911bfe58e0fbb928c888 (diff)
Speed up content discovery:
1. add all discovery jobs immediately rather than waiting for each one to finish (by polling) before starting the next. 2. replace polling with a condition in JobManager.
Diffstat (limited to 'src/lib/job.h')
-rw-r--r--src/lib/job.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/job.h b/src/lib/job.h
index 4fc61cb26..0e57021e0 100644
--- a/src/lib/job.h
+++ b/src/lib/job.h
@@ -89,6 +89,8 @@ public:
boost::signals2::signal<void()> Progress;
/** Emitted from the UI thread when the job is finished */
boost::signals2::signal<void()> Finished;
+ /** Emitted from the job thread when the job is finished */
+ boost::signals2::signal<void()> FinishedImmediate;
protected: