Function ThreadPool.tasksDone

Returns true if all tasks are finished

bool tasksDone();