ΒΆinline llvm::ThreadPoolStrategy
optimal_concurrency(unsigned int TaskCount = 0)

Description

Returns an optimal thread strategy to execute specified amount of tasks. This strategy should prevent us from creating too many threads if we occasionaly have an unexpectedly small amount of tasks.

Declared at: llvm/include/llvm/Support/Threading.h:194

Parameters

unsigned int TaskCount = 0