Lines Matching refs:ThreadPoolExecutor
151 executor_type = futures.ThreadPoolExecutor
444 with futures.ThreadPoolExecutor(max_workers=5) as e:
453 executor = futures.ThreadPoolExecutor(max_workers=5)
468 executor = futures.ThreadPoolExecutor(max_workers=5)
481 executor = futures.ThreadPoolExecutor(
493 executor = futures.ThreadPoolExecutor(max_workers=5)
502 self.assertRegex(t.name, r'ThreadPoolExecutor-\d+_[0-4]$')
509 from concurrent.futures import ThreadPoolExecutor
512 t = ThreadPoolExecutor()
955 with futures.ThreadPoolExecutor(1) as pool: