caffe2/utils/threadpool/ThreadPool.cc
void ThreadPool::setMinWorkSize(size_t size) {
  std::lock_guard<std::mutex> guard(executionMutex_);

  minWorkSize_ = size;
}
// Sets the minimum work size (range) for which to invoke the
// threadpool; work sizes smaller than this will just be run on the
// main (calling) thread
Sets the minimum work size (range) for which to invoke the
threadpool; work sizes smaller than this will just be run on the
main (calling) thread
Sets the minimum work size ( range ) for which to invoke the threadpool ; work sizes smaller than this will just be run on the main ( calling ) thread
void ThreadPool::setMinWorkSize(size_t size) {
  std::lock_guard<std::mutex> guard(executionMutex_);
  minWorkSize_ = size;
}
void ThreadPool :: setMinWorkSize ( size_t size ) { std :: lock_guard < std :: mutex > guard ( executionMutex_ ) ; minWorkSize_ = size ; }
Sets the minimum work size (range) for which to invoke the
threadpool; work sizes smaller than this will just be run on the
main (calling) thread
Sets the minimum work size ( range ) for which to invoke the threadpool ; work sizes smaller than this will just be run on the main ( calling ) thread