Function hermes::getThreadChunks

Function Documentation

std::vector<std::pair<unsigned int, unsigned int>> getThreadChunks(unsigned int queueSize)

For a given number of tasks, split them over available system threads; returns a vector of [start, stop> pairs