Class ThreadPool

Class Documentation

class ThreadPool

Public Functions

ThreadPool()
ThreadPool(ThreadPool&)
~ThreadPool()
void submit(Vector<Ref<Task>> &tasks)

To submit a job to the jobs queue.

bool isCompleted() const

Returns true if all tasks have been completed.

void join() const

Returns when all the tasks have been completed.