Searched refs:max_workers (Results 1 – 4 of 4) sorted by relevance
251 def check_undefined_symbols(self, max_workers=None, chunk_size=50, argument290 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 > 1:320 with executor(max_workers=max_workers) as exe:
85 unsigned max_workers; member320 if (unlikely(!acct->max_workers)) in io_wq_create_worker()324 if (acct->nr_workers >= acct->max_workers) { in io_wq_create_worker()355 if (acct->nr_workers < acct->max_workers) { in create_worker_cb()1217 wq->acct[IO_WQ_ACCT_BOUND].max_workers = bounded; in io_wq_create()1218 wq->acct[IO_WQ_ACCT_UNBOUND].max_workers = in io_wq_create()1423 prev[i] = max_t(int, acct->max_workers, prev[i]); in io_wq_max_workers()1425 acct->max_workers = new_count[i]; in io_wq_max_workers()
41 executor = futures.ThreadPoolExecutor(max_workers=len(commands))
178 max_workers=args.jobs,