MCPcopy Create free account
hub / github.com/dask/dask / MultiprocessingPoolExecutor

Class MultiprocessingPoolExecutor

dask/local.py:613–619  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

611
612
613class MultiprocessingPoolExecutor(Executor):
614 def __init__(self, pool):
615 self.pool = pool
616 self._max_workers = len(pool._pool)
617
618 def submit(self, fn, *args, **kwargs):
619 return submit_apply_async(self.pool.apply_async, fn, *args, **kwargs)
620
621
622def submit_apply_async(apply_async, fn, *args, **kwargs):

Callers 2

getFunction · 0.90
getFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected