ThreadPool.parallelFor

Calls the delegate in parallel, with 0..count as index. Immediate waiting for completion. If there is only one task, it is run directly on this thread. IMPORTANT to be reentrant there! widget drawn alone can then launch same threadpool.

class ThreadPool
nothrow @nogc
void
parallelFor

Meta