Lines Matching refs:max_workers
251 def check_undefined_symbols(self, max_workers=None, chunk_size=50,
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 > 1:
320 with executor(max_workers=max_workers) as exe:
338 print(f"{len(f_list):6d} jobs queued on {max_workers} workers",