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

Class MultiprocessingPoolExecutor

dask/local.py:615–621  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

613
614
615class MultiprocessingPoolExecutor(Executor):
616 def __init__(self, pool):
617 self.pool = pool
618 self._max_workers = len(pool._pool)
619
620 def submit(self, fn, *args, **kwargs):
621 return submit_apply_async(self.pool.apply_async, fn, *args, **kwargs)
622
623
624def 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