Searched refs:max_workers (Results 1 – 5 of 5) sorted by relevance
251 def check_undefined_symbols(self, max_workers=None, chunk_size=50, argument 290 if not max_workers:291 max_workers = os.cpu_count()292 elif max_workers > os.cpu_count():293 max_workers = os.cpu_count()295 max_workers = max(max_workers, 1)297 max_chunk_size = int((num_refs + max_workers - 1) / max_workers)301 if max_workers > [all...]
87 unsigned max_workers; member329 if (unlikely(!acct->max_workers)) in io_wq_create_worker()333 if (acct->nr_workers >= acct->max_workers) { in io_wq_create_worker()371 if (acct->nr_workers < acct->max_workers) { in create_worker_cb()1270 wq->acct[IO_WQ_ACCT_BOUND].max_workers = bounded; in io_wq_create()1271 wq->acct[IO_WQ_ACCT_UNBOUND].max_workers = in io_wq_create()1499 prev[i] = max_t(int, acct->max_workers, prev[i]); in io_wq_max_workers()1501 acct->max_workers = new_count[i]; in io_wq_max_workers()
41 executor = futures.ThreadPoolExecutor(max_workers=len(commands))
178 max_workers=args.jobs,
389 with futures.ThreadPoolExecutor(max_workers=n_jobs) as executor: