wait overloads
Synopses
Declared in <llvm/Support/ThreadPool.h>
Blocking wait for all the threads to complete and the queue to be empty. It is an error to try to add new tasks while blocking on this call. Calling wait() from a task would deadlock waiting for itself.
virtual
void
wait() = 0;
Blocking wait for only all the threads in the given group to complete. It is possible to wait even inside a task, but waiting (directly or indirectly) on itself will deadlock. If called from a task running on a worker thread, the call may process pending tasks while waiting in order not to waste the thread.
virtual
void
wait(ThreadPoolTaskGroup& Group) = 0;
Created with MrDocs