diff options
author | Toni Uhlig <Toni.Uhlig@tq-group.com> | 2017-12-04 16:11:58 +0100 |
---|---|---|
committer | Toni Uhlig <Toni.Uhlig@tq-group.com> | 2017-12-04 16:11:58 +0100 |
commit | 2f7d624ef6eb97d6caf39ea58ec92ad848464a8a (patch) | |
tree | 65054d2a64788a16a9af6eb595dbff4d5a1b97c8 /src/JobQueue.cpp | |
parent | 986367293179c4836a044aa704b54d2491b4a76b (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.cpp | 3 |
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(); } |