Add a method to see whether a WorkItem has executed yet.

This commit is contained in:
Daniel Buckmaster 2015-07-05 12:40:50 +10:00
parent 5caf62b19f
commit 7b2cb8d04f
2 changed files with 12 additions and 1 deletions

View file

@ -120,6 +120,7 @@ void ThreadPool::Context::updateAccumulatedPriorityBiases()
void ThreadPool::WorkItem::process()
{
execute();
mExecuted = true;
}
//--------------------------------------------------------------------------