Searched refs:max_workers (Results 1 – 4 of 4) 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...]
85 unsigned max_workers; member 327 if (unlikely(!acct->max_workers)) in io_wq_create_worker() 331 if (acct->nr_workers >= acct->max_workers) { in io_wq_create_worker() 362 if (acct->nr_workers < acct->max_workers) { in create_worker_cb() 1240 wq->acct[IO_WQ_ACCT_BOUND].max_workers = bounded; in io_wq_create() 1241 wq->acct[IO_WQ_ACCT_UNBOUND].max_workers = in io_wq_create() 1448 prev[i] = max_t(int, acct->max_workers, prev[i]); in io_wq_max_workers() 1450 acct->max_workers = new_count[i]; in io_wq_max_workers()
41 executor = futures.ThreadPoolExecutor(max_workers=len(commands))
178 max_workers=args.jobs,