fork-futures

Provides an alternative to concurrent.futures.ProcessPoolExecutor implemented using fork.


License
MIT
Install
pip install fork-futures==0.0.2

Documentation

fork-futures

Provides an alternative to concurrent.futures.ProcessPoolExecutor implemented using fork.

This means that you can execute local functions in another process, without having to use dill (and having to dill local variables). The arguments to the function executed are not pickled, only the return values.

ForkPoolExecutor can be used as a replacement for ProcessPoolExecutor and ForkFuture as a replacement for Future.

Not all of the Executor or Future API has been implemented.