wait

JobSystem::wait

Waits for all worker threads to finish their jobs.

Declaration

void wait();

Parameters

None.

Returns

None.

Notes

If any worker thread cannot finish its job, this function will never end.