aboutsummaryrefslogtreecommitdiff
path: root/src/JobQueue.cpp
diff options
context:
space:
mode:
authorToni Uhlig <Toni.Uhlig@tq-group.com>2017-12-04 16:11:58 +0100
committerToni Uhlig <Toni.Uhlig@tq-group.com>2017-12-04 16:11:58 +0100
commit2f7d624ef6eb97d6caf39ea58ec92ad848464a8a (patch)
tree65054d2a64788a16a9af6eb595dbff4d5a1b97c8 /src/JobQueue.cpp
parent986367293179c4836a044aa704b54d2491b4a76b (diff)
introduced new Event Job::eID_THREAD_JOB_DONE, which will be send after every job finishes
Diffstat (limited to 'src/JobQueue.cpp')
-rw-r--r--src/JobQueue.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/JobQueue.cpp b/src/JobQueue.cpp
index eb6320c..5fe7260 100644
--- a/src/JobQueue.cpp
+++ b/src/JobQueue.cpp
@@ -128,5 +128,8 @@ void WorkerThread::doJob()
default:
break;
}
+ m_pQueue->Report(Job::eID_THREAD_JOB_DONE,
+ wxString::Format(wxT("Job #%d: finished."),
+ job.m_Arg.jobid), m_ID);
m_pQueue->decBusyWorker();
}