Searched refs:max_workers (Results 1 – 3 of 3) sorted by relevance
254 void AbstractThreadPool::SetMaxActiveWorkers(size_t max_workers) { in SetMaxActiveWorkers() argument256 CHECK_LE(max_workers, GetThreadCount()); in SetMaxActiveWorkers()257 max_active_workers_ = max_workers; in SetMaxActiveWorkers()
516 with concurrent.futures.ThreadPoolExecutor(max_workers=args.jobs) as pool:
582 with concurrent.futures.ThreadPoolExecutor(max_workers=n_thread) as executor: